ignore block timeout when sealing internally

This commit is contained in:
keorn 2016-11-02 12:13:12 +00:00
parent 3a6b56e99c
commit da3253133c
1 changed files with 1 additions and 0 deletions

View File

@ -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;