Merge pull request #923 from arkpar/mix_tx

mix: Mining fixed
This commit is contained in:
Gav Wood 2015-02-01 20:47:27 -08:00
commit ded08e82a7

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