diff options
author | Gav Wood <i@gavwood.com> | 2015-02-03 09:07:15 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2015-02-03 09:07:15 +0800 |
commit | aa0554269e02cfc919162989d7b318faec8c14ce (patch) | |
tree | 11677b3c099b22beddb85ac9398b2b79b93425b8 | |
parent | bd3fed43b9710b77670bd8b3f04e90d25f311459 (diff) | |
download | dexon-solidity-aa0554269e02cfc919162989d7b318faec8c14ce.tar dexon-solidity-aa0554269e02cfc919162989d7b318faec8c14ce.tar.gz dexon-solidity-aa0554269e02cfc919162989d7b318faec8c14ce.tar.bz2 dexon-solidity-aa0554269e02cfc919162989d7b318faec8c14ce.tar.lz dexon-solidity-aa0554269e02cfc919162989d7b318faec8c14ce.tar.xz dexon-solidity-aa0554269e02cfc919162989d7b318faec8c14ce.tar.zst dexon-solidity-aa0554269e02cfc919162989d7b318faec8c14ce.zip |
Revert State class changes for Mix.
-rw-r--r-- | stateOriginal.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/stateOriginal.cpp b/stateOriginal.cpp index f4804c43..b1a7c0d8 100644 --- a/stateOriginal.cpp +++ b/stateOriginal.cpp @@ -51,7 +51,7 @@ int stateTest() cout << s; // Mine to get some ether! - s.commitToMine(); + s.commitToMine(bc); while (!s.mine(100).completed) {} s.completeMine(); bc.attemptImport(s.blockData(), stateDB); @@ -74,8 +74,9 @@ int stateTest() cout << s; // Mine to get some ether and set in stone. - s.commitToMine(); - while (!s.mine(100).completed) {} + s.commitToMine(bc); + s.commitToMine(bc); + while (!s.mine(50).completed) { s.commitToMine(bc); } s.completeMine(); bc.attemptImport(s.blockData(), stateDB); |