aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarkpar <arkadiy@ethdev.com>2015-02-01 23:43:24 +0800
committerarkpar <arkadiy@ethdev.com>2015-02-01 23:43:24 +0800
commit71396ad7f1198c31bb50ee25b915739219e5b98c (patch)
tree16dcbb564bd37b953dc25b240c6fbb9ad247a036
parent69fa5db47144dbe4f1272d29fe75149262671d5f (diff)
downloaddexon-solidity-71396ad7f1198c31bb50ee25b915739219e5b98c.tar.gz
dexon-solidity-71396ad7f1198c31bb50ee25b915739219e5b98c.tar.zst
dexon-solidity-71396ad7f1198c31bb50ee25b915739219e5b98c.zip
fixed block generation on mine
-rw-r--r--stateOriginal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/stateOriginal.cpp b/stateOriginal.cpp
index a49c5506..f4804c43 100644
--- a/stateOriginal.cpp
+++ b/stateOriginal.cpp
@@ -51,7 +51,7 @@ int stateTest()
cout << s;
// Mine to get some ether!
- s.commitToMine(bc);
+ s.commitToMine();
while (!s.mine(100).completed) {}
s.completeMine();
bc.attemptImport(s.blockData(), stateDB);
@@ -74,7 +74,7 @@ int stateTest()
cout << s;
// Mine to get some ether and set in stone.
- s.commitToMine(bc);
+ s.commitToMine();
while (!s.mine(100).completed) {}
s.completeMine();
bc.attemptImport(s.blockData(), stateDB);