From 68fb5e2019e832506aafa7c2ffc224217e0ff560 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Sun, 19 Jul 2015 19:15:45 +0200 Subject: [PATCH] Fix for stateroot in tests. --- test/libethereum/blockchain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/libethereum/blockchain.cpp b/test/libethereum/blockchain.cpp index 6d4761bb9..764585520 100644 --- a/test/libethereum/blockchain.cpp +++ b/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); }