Skip to content

Commit

Permalink
global best diff for cores
Browse files Browse the repository at this point in the history
  • Loading branch information
miralandlabs committed Aug 10, 2024
1 parent c9a933c commit 93a4939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ impl Miner {
));
}
if global_best_difficulty.ge(&min_difficulty) {
if best_difficulty >= 18 {
if global_best_difficulty >= 18 {
// Mine until min and expected(18) difficulty has been met
break;
} else {
Expand Down

0 comments on commit 93a4939

Please sign in to comment.