diff options
author | Gav Wood <i@gavwood.com> | 2015-07-07 09:59:19 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2015-07-17 19:48:50 +0800 |
commit | df40fac1df7f90f5a810c8c87d86948956faa07b (patch) | |
tree | 419a7f64200e33555e027c4944047afcf7582462 | |
parent | 45385741a605a43d371a792d5e6e1a98f421da0f (diff) | |
download | dexon-solidity-df40fac1df7f90f5a810c8c87d86948956faa07b.tar.gz dexon-solidity-df40fac1df7f90f5a810c8c87d86948956faa07b.tar.zst dexon-solidity-df40fac1df7f90f5a810c8c87d86948956faa07b.zip |
Modularise nonce, mix hash and seed hash.
-rw-r--r-- | TestHelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp index f49ed1e0..b43c4db5 100644 --- a/TestHelper.cpp +++ b/TestHelper.cpp @@ -81,7 +81,7 @@ void mine(BlockInfo& _bi) bool completed = false; f.onSolutionFound([&](ProofOfWork::Solution sol) { - ProofOfWork::assignResult(sol, _bi); + _bi.proof = sol; return completed = true; }); f.setWork(_bi); |