Skip to content

Commit ab07d81

Browse files
authored
Update mine.rs
1 parent 9e40e8a commit ab07d81

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/mine.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,8 @@ impl Miner {
141141
if timer.elapsed().as_secs().ge(&cutoff_time) {
142142
if i.id == 0 {
143143
progress_bar.set_message(format!(
144-
"Mining... ({} / {} difficulty)",
144+
"Mining... ({} difficulty)",
145145
global_best_difficulty,
146-
min_difficulty,
147146
));
148147
}
149148
if global_best_difficulty.ge(&min_difficulty) {
@@ -152,9 +151,8 @@ impl Miner {
152151
}
153152
} else if i.id == 0 {
154153
progress_bar.set_message(format!(
155-
"Mining... ({} / {} difficulty, {} sec remaining)",
154+
"Mining... ({} difficulty, {} sec remaining)",
156155
global_best_difficulty,
157-
min_difficulty,
158156
cutoff_time.saturating_sub(timer.elapsed().as_secs()),
159157
));
160158
}

0 commit comments

Comments
 (0)