removed redundant if condition
This commit is contained in:
parent
ca33f7c18d
commit
0b8710a2a1
@ -492,7 +492,7 @@ impl MinerService for Miner {
|
||||
trace!(target: "miner", "Miner sleeping (current {}, last {})", current_no, last_request);
|
||||
self.sealing_enabled.store(false, atomic::Ordering::Relaxed);
|
||||
self.sealing_work.lock().unwrap().reset();
|
||||
} else if self.sealing_enabled.load(atomic::Ordering::Relaxed) {
|
||||
} else {
|
||||
self.prepare_sealing(chain);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user