diff options
author | Gav Wood <i@gavwood.com> | 2015-07-07 09:59:19 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2015-07-17 20:07:27 +0800 |
commit | 19476a6b5f03c4f48ab79e2574abf198e627ac8c (patch) | |
tree | c16b699316092452836c142703c8ce0e65734f8f | |
parent | 1c78da65edf850fd138b3a10b35b2301b80bc7dd (diff) | |
download | dexon-solidity-19476a6b5f03c4f48ab79e2574abf198e627ac8c.tar dexon-solidity-19476a6b5f03c4f48ab79e2574abf198e627ac8c.tar.gz dexon-solidity-19476a6b5f03c4f48ab79e2574abf198e627ac8c.tar.bz2 dexon-solidity-19476a6b5f03c4f48ab79e2574abf198e627ac8c.tar.lz dexon-solidity-19476a6b5f03c4f48ab79e2574abf198e627ac8c.tar.xz dexon-solidity-19476a6b5f03c4f48ab79e2574abf198e627ac8c.tar.zst dexon-solidity-19476a6b5f03c4f48ab79e2574abf198e627ac8c.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); |