Skip to content

Commit

Permalink
CheckEquihashSolution clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkLTZ committed Nov 6, 2020
1 parent a607d32 commit e041afc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,6 @@ bool CheckEquihashSolution(const CBlockHeader *pblock)

bool isValid;
EhIsValidSolution(n, k, state, pblock->nSolution, isValid);
if (!isValid)
return error("CheckEquihashSolution(): invalid solution n=%s,k=%s", n, k);

return true;
return isValid;
}

0 comments on commit e041afc

Please sign in to comment.