diff options
author | Gav Wood <i@gavwood.com> | 2015-07-07 09:59:19 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2015-07-20 03:10:13 +0800 |
commit | d0e7e6295c89c40d9ef9a9c665059c97ddcfb89f (patch) | |
tree | 6126271e4040dc49df6e65f30c6ac42d41379db6 | |
parent | 3b2fe59a0765c235febf8ecc4ecdcea3c50d10f5 (diff) | |
download | dexon-solidity-d0e7e6295c89c40d9ef9a9c665059c97ddcfb89f.tar.gz dexon-solidity-d0e7e6295c89c40d9ef9a9c665059c97ddcfb89f.tar.zst dexon-solidity-d0e7e6295c89c40d9ef9a9c665059c97ddcfb89f.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); |