aboutsummaryrefslogtreecommitdiffstats
path: root/createRandomStateTest.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 /createRandomStateTest.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 'createRandomStateTest.cpp')
-rw-r--r--createRandomStateTest.cpp3
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)
{