From 5e28d981c729a929a37ba761e86a47de08ce9456 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Sun, 29 Mar 2015 19:13:39 +0200 Subject: Refactored much of transaction queue for tidiness and optimisation. --- createRandomStateTest.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'createRandomStateTest.cpp') 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) { -- cgit v1.2.3