diff --git a/checkRandomStateTest.cpp b/checkRandomStateTest.cpp index 17e785f60..0fa7233b4 100644 --- a/checkRandomStateTest.cpp +++ b/checkRandomStateTest.cpp @@ -87,7 +87,7 @@ bool doStateTest(mValue& _v) try { - theState.execute(lastHashes(importer.m_environment.currentBlock.number), tx, &output); + output = theState.execute(lastHashes(importer.m_environment.currentBlock.number), tx).output; } catch (Exception const& _e) { diff --git a/createRandomStateTest.cpp b/createRandomStateTest.cpp index 13b622bb1..c03deca80 100644 --- a/createRandomStateTest.cpp +++ b/createRandomStateTest.cpp @@ -162,7 +162,7 @@ void doStateTests(json_spirit::mValue& _v) try { - theState.execute(test::lastHashes(importer.m_environment.currentBlock.number), tx, &output); + output = theState.execute(test::lastHashes(importer.m_environment.currentBlock.number), tx).output; } catch (Exception const& _e) { diff --git a/state.cpp b/state.cpp index 162ae5f34..4ab59f7a1 100644 --- a/state.cpp +++ b/state.cpp @@ -63,7 +63,7 @@ void doStateTests(json_spirit::mValue& v, bool _fillin) try { Listener::ExecTimeGuard guard{i.first}; - theState.execute(lastHashes(importer.m_environment.currentBlock.number), tx, &output); + output = theState.execute(lastHashes(importer.m_environment.currentBlock.number), tx).output; } catch (Exception const& _e) {