Closed tjsturos closed 2 months ago
There was a redundant check for if the increment was over 800k.
This would be redundant due to the first check of "if the difficulty was under 25k" would be met at anything over 700k.
Moved to a function, due to it being used twice (in the Calculating and Verifying of the Proof) and to be able to add tests.
looks good minus the underflow check
There was a redundant check for if the increment was over 800k.
This would be redundant due to the first check of "if the difficulty was under 25k" would be met at anything over 700k.
Moved to a function, due to it being used twice (in the Calculating and Verifying of the Proof) and to be able to add tests.