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. --- state.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'state.cpp') diff --git a/state.cpp b/state.cpp index 4ab59f7a..7c586ec7 100644 --- a/state.cpp +++ b/state.cpp @@ -57,13 +57,12 @@ void doStateTests(json_spirit::mValue& v, bool _fillin) ImportTest importer(o, _fillin); State theState = importer.m_statePre; - bytes tx = importer.m_transaction.rlp(); bytes output; try { Listener::ExecTimeGuard guard{i.first}; - output = theState.execute(lastHashes(importer.m_environment.currentBlock.number), tx).output; + output = theState.execute(lastHashes(importer.m_environment.currentBlock.number), importer.m_transaction).output; } catch (Exception const& _e) { -- cgit v1.2.3