fix condition check

This commit is contained in:
NikVolf 2017-03-16 04:09:26 +03:00
parent 131aa14afa
commit daca82bdfc

View File

@ -305,7 +305,7 @@ impl Miner {
fn forced_sealing(&self) -> bool { fn forced_sealing(&self) -> bool {
self.options.force_sealing self.options.force_sealing
|| !self.options.new_work_notify.is_empty() || !self.notifiers.read().is_empty()
|| Instant::now() > *self.next_mandatory_reseal.read() || Instant::now() > *self.next_mandatory_reseal.read()
} }