aboutsummaryrefslogtreecommitdiffstats
path: root/state.cpp
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-01-23 07:18:12 +0800
committerGav Wood <i@gavwood.com>2014-01-23 07:18:12 +0800
commit7c9a1238b76d4dd9180a198e243750a35f732a32 (patch)
tree30fdd76963a150b4ec109603b49ff5e68523fa04 /state.cpp
parent803e9920708a0e5824507c427920e478f300fbd3 (diff)
downloaddexon-solidity-7c9a1238b76d4dd9180a198e243750a35f732a32.tar.gz
dexon-solidity-7c9a1238b76d4dd9180a198e243750a35f732a32.tar.zst
dexon-solidity-7c9a1238b76d4dd9180a198e243750a35f732a32.zip
GUI & network stuff.
Diffstat (limited to 'state.cpp')
-rw-r--r--state.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/state.cpp b/state.cpp
index d4201c57..ed9d05aa 100644
--- a/state.cpp
+++ b/state.cpp
@@ -47,7 +47,7 @@ int stateTest()
// Mine to get some ether!
s.commitToMine(bc);
- while (s.mine(100).empty()) {}
+ while (s.mine(100).completed()) {}
bc.attemptImport(s.blockData(), stateDB);
cout << bc;
@@ -74,7 +74,7 @@ int stateTest()
// Mine to get some ether and set in stone.
s.commitToMine(bc);
- while (s.mine(100).empty()) {}
+ while (s.mine(100).completed()) {}
bc.attemptImport(s.blockData(), stateDB);
cout << bc;