Merge pull request #1270 from ethcore/redundant_if_condition
removed redundant if condition
This commit is contained in:
commit
9940432051
@ -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