Modularise nonce, mix hash and seed hash.

This commit is contained in:
Gav Wood
2015-07-16 00:19:31 +02:00
parent 6be070cf1f
commit 7b6cd4e13f
+1 -1
View File
@@ -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);