diff options
author | Gav Wood <i@gavwood.com> | 2015-03-30 01:13:39 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2015-03-30 01:13:39 +0800 |
commit | 5e28d981c729a929a37ba761e86a47de08ce9456 (patch) | |
tree | 3f9bf122e30a6b5e7d156842b7f1b9117ad7f35b /state.cpp | |
parent | c188e94273f9f9be27b4bfd67e44800f0504eb6a (diff) | |
download | dexon-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.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) { |