Browse Source

Bump.

cl-refactor
Gav Wood 10 years ago
parent
commit
568e46a32b
  1. 2
      libdevcore/Common.cpp
  2. 11
      libethcore/BlockInfo.cpp

2
libdevcore/Common.cpp

@ -28,7 +28,7 @@ using namespace dev;
namespace dev
{
char const* Version = "0.9.16";
char const* Version = "0.9.17";
void HasInvariants::checkInvariants() const
{

11
libethcore/BlockInfo.cpp

@ -201,17 +201,6 @@ void BlockInfo::verifyInternals(bytesConstRef _block) const
{
RLP root(_block);
/*OverlayDB db;
GenericTrieDB<OverlayDB> t(&db);
t.init();
unsigned i = 0;
for (auto const& tr: root[1])
{
bytes k = rlp(i);
t.insert(&k, tr.data());
++i;
}
if (transactionsRoot != t.root())*/
auto txList = root[1];
auto expectedRoot = trieRootOver(txList.itemCount(), [&](unsigned i){ return rlp(i); }, [&](unsigned i){ return txList[i].data(); });
clog(BlockInfoDiagnosticsChannel) << "Expected trie root:" << toString(expectedRoot);

Loading…
Cancel
Save