From aa0554269e02cfc919162989d7b318faec8c14ce Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Mon, 2 Feb 2015 17:07:15 -0800 Subject: [PATCH] Revert State class changes for Mix. --- stateOriginal.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/stateOriginal.cpp b/stateOriginal.cpp index f4804c43b..b1a7c0d8e 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);