aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--blockchain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/blockchain.cpp b/blockchain.cpp
index 15cda803..6d7bc97e 100644
--- a/blockchain.cpp
+++ b/blockchain.cpp
@@ -575,7 +575,7 @@ void overwriteBlockHeader(BlockInfo& _currentBlockHeader, mObject& _blObj)
_currentBlockHeader = tmp;
ProofOfWork pow;
- std::pair<MineInfo, Ethash::Proof> ret;
+ std::pair<MineInfo, Ethash::Solution> ret;
while (!ProofOfWork::verify(_currentBlockHeader))
{
ret = pow.mine(_currentBlockHeader, 1000, true);
@@ -621,7 +621,7 @@ BlockInfo constructBlock(mObject& _o)
void updatePoW(BlockInfo& _bi)
{
ProofOfWork pow;
- std::pair<MineInfo, Ethash::Proof> ret;
+ std::pair<MineInfo, Ethash::Solution> ret;
while (!ProofOfWork::verify(_bi))
{
ret = pow.mine(_bi, 10000, true);