From daca82bdfca953a118a26271b1b78262ce218b65 Mon Sep 17 00:00:00 2001 From: NikVolf Date: Thu, 16 Mar 2017 04:09:26 +0300 Subject: [PATCH] fix condition check --- ethcore/src/miner/miner.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethcore/src/miner/miner.rs b/ethcore/src/miner/miner.rs index 3d1389f3c..5d8d73837 100644 --- a/ethcore/src/miner/miner.rs +++ b/ethcore/src/miner/miner.rs @@ -305,7 +305,7 @@ impl Miner { fn forced_sealing(&self) -> bool { self.options.force_sealing - || !self.options.new_work_notify.is_empty() + || !self.notifiers.read().is_empty() || Instant::now() > *self.next_mandatory_reseal.read() }