aboutsummaryrefslogtreecommitdiffstats
path: root/state.cpp
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-03-30 01:13:39 +0800
committerGav Wood <i@gavwood.com>2015-03-30 01:13:39 +0800
commit5e28d981c729a929a37ba761e86a47de08ce9456 (patch)
tree3f9bf122e30a6b5e7d156842b7f1b9117ad7f35b /state.cpp
parentc188e94273f9f9be27b4bfd67e44800f0504eb6a (diff)
downloaddexon-solidity-5e28d981c729a929a37ba761e86a47de08ce9456.tar
dexon-solidity-5e28d981c729a929a37ba761e86a47de08ce9456.tar.gz
dexon-solidity-5e28d981c729a929a37ba761e86a47de08ce9456.tar.bz2
dexon-solidity-5e28d981c729a929a37ba761e86a47de08ce9456.tar.lz
dexon-solidity-5e28d981c729a929a37ba761e86a47de08ce9456.tar.xz
dexon-solidity-5e28d981c729a929a37ba761e86a47de08ce9456.tar.zst
dexon-solidity-5e28d981c729a929a37ba761e86a47de08ce9456.zip
Refactored much of transaction queue for tidiness and optimisation.
Diffstat (limited to 'state.cpp')
-rw-r--r--state.cpp3
1 files changed, 1 insertions, 2 deletions
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)
{