aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-07-07 09:59:19 +0800
committerGav Wood <i@gavwood.com>2015-07-17 14:46:41 +0800
commit30205b156bac817704f338003e78ddd5b5047492 (patch)
tree326851ceb960b56d9025ff8e4aedf5c194bdbba4
parent6be070cf1f9e620995aaff7774669dd3f9f8fa90 (diff)
downloaddexon-solidity-30205b156bac817704f338003e78ddd5b5047492.tar.gz
dexon-solidity-30205b156bac817704f338003e78ddd5b5047492.tar.zst
dexon-solidity-30205b156bac817704f338003e78ddd5b5047492.zip
Modularise nonce, mix hash and seed hash.
-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);