fixed block generation on mine

This commit is contained in:
arkpar 2015-02-01 16:43:24 +01:00
parent 69fa5db471
commit 71396ad7f1

View File

@ -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);