mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fixed block generation on mine
This commit is contained in:
parent
69fa5db471
commit
71396ad7f1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user