aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--checkRandomStateTest.cpp2
-rw-r--r--createRandomStateTest.cpp2
-rw-r--r--state.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/checkRandomStateTest.cpp b/checkRandomStateTest.cpp
index 17e785f6..0fa7233b 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 13b622bb..c03deca8 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 162ae5f3..4ab59f7a 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)
{