Browse Source

Fix for stateroot in tests.

cl-refactor
Gav Wood 10 years ago
parent
commit
68fb5e2019
  1. 2
      test/libethereum/blockchain.cpp

2
test/libethereum/blockchain.cpp

@ -708,7 +708,7 @@ BlockHeader constructBlock(mObject& _o, h256 const& _stateRoot)
try
{
// construct genesis block
const bytes c_blockRLP = createBlockRLPFromFields(_o);
const bytes c_blockRLP = createBlockRLPFromFields(_o, _stateRoot);
const RLP c_bRLP(c_blockRLP);
ret.populateFromHeader(c_bRLP, IgnoreSeal);
}

Loading…
Cancel
Save