aboutsummaryrefslogtreecommitdiffstats
path: root/TestHelper.cpp
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-07-07 09:59:19 +0800
committerGav Wood <i@gavwood.com>2015-07-20 03:10:13 +0800
commitd0e7e6295c89c40d9ef9a9c665059c97ddcfb89f (patch)
tree6126271e4040dc49df6e65f30c6ac42d41379db6 /TestHelper.cpp
parent3b2fe59a0765c235febf8ecc4ecdcea3c50d10f5 (diff)
downloaddexon-solidity-d0e7e6295c89c40d9ef9a9c665059c97ddcfb89f.tar.gz
dexon-solidity-d0e7e6295c89c40d9ef9a9c665059c97ddcfb89f.tar.zst
dexon-solidity-d0e7e6295c89c40d9ef9a9c665059c97ddcfb89f.zip
Modularise nonce, mix hash and seed hash.
Diffstat (limited to 'TestHelper.cpp')
-rw-r--r--TestHelper.cpp2
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);