Skip to content

Commit 98c801c

Browse files
committed
fix: min difficulty
1 parent bba3232 commit 98c801c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mine.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ impl Miner {
110110
// Exit if time has elapsed
111111
if nonce % 100 == 0 {
112112
if timer.elapsed().as_secs().ge(&cutoff_time) {
113-
if best_difficulty.gt(&min_difficulty) {
113+
if best_difficulty.ge(&min_difficulty) {
114114
// Mine until min difficulty has been met
115115
break;
116116
}

0 commit comments

Comments
 (0)