aboutsummaryrefslogtreecommitdiffstats
path: root/state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'state.cpp')
-rw-r--r--state.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/state.cpp b/state.cpp
index e3a91a3a..3a81821e 100644
--- a/state.cpp
+++ b/state.cpp
@@ -55,7 +55,7 @@ void doStateTests(json_spirit::mValue& v, bool _fillin)
BOOST_REQUIRE(o.count("pre") > 0);
BOOST_REQUIRE(o.count("transaction") > 0);
- ImportTest importer(o,_fillin);
+ ImportTest importer(o, _fillin);
if (_fillin)
{
@@ -64,20 +64,9 @@ void doStateTests(json_spirit::mValue& v, bool _fillin)
}
State theState = importer.m_statePre;
-
bytes tx = importer.m_transaction.rlp();
-
bytes output;
- // check
-
- for (auto const& a: theState.addresses())
- {
- cout << "address: " << a.first << endl;
- cout << "balance: " << theState.balance(a.first) << endl;
- cout << "has code: " << theState.addressHasCode(a.first) << endl;
- }
-
try
{
theState.execute(tx, &output);