diff options
Diffstat (limited to 'createRandomStateTest.cpp')
-rw-r--r-- | createRandomStateTest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/createRandomStateTest.cpp b/createRandomStateTest.cpp index f422d171..5758598b 100644 --- a/createRandomStateTest.cpp +++ b/createRandomStateTest.cpp @@ -183,12 +183,11 @@ void doStateTests(json_spirit::mValue& _v) test::ImportTest importer(o, true); eth::State theState = importer.m_statePre; - bytes tx = importer.m_transaction.rlp(); bytes output; try { - output = theState.execute(test::lastHashes(importer.m_environment.currentBlock.number), tx).output; + output = theState.execute(test::lastHashes(importer.m_environment.currentBlock.number), importer.m_transaction).output; } catch (Exception const& _e) { |