From da3253133cfc957f5ec4e88edecf8dfcf8675517 Mon Sep 17 00:00:00 2001 From: keorn Date: Wed, 2 Nov 2016 12:13:12 +0000 Subject: [PATCH] ignore block timeout when sealing internally --- ethcore/src/miner/miner.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/ethcore/src/miner/miner.rs b/ethcore/src/miner/miner.rs index 6d5a3f735..23dbe113a 100644 --- a/ethcore/src/miner/miner.rs +++ b/ethcore/src/miner/miner.rs @@ -434,6 +434,7 @@ impl Miner { let last_request = *self.sealing_block_last_request.lock(); let should_disable_sealing = !self.forced_sealing() && !has_local_transactions + && !self.seals_internally && best_block > last_request && best_block - last_request > SEALING_TIMEOUT_IN_BLOCKS;