Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
gumb0 committed Apr 26, 2017
1 parent 1ce0eb6 commit 91e8287
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/tools/libtesteth/BlockChainHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,9 @@ bool TestBlockChain::addBlock(TestBlock const& _block)
block.sync(*m_blockChain.get());

//BOOST_REQUIRE(m_lastBlock.blockHeader().hash() == BlockHeader(block.blockData()).hash());
m_lastBlock.setState(/*block.fromPending(10000)*/block.state());
State st(block.state());
st.setRoot(/*block.stateRootBeforeTx(10000)*/block.info().stateRoot());
m_lastBlock.setState(/*block.fromPending(10000)*//*block.state()*/st);
return true;
}

Expand Down

0 comments on commit 91e8287

Please sign in to comment.