From 9f6df9ade0c8d4362a5ade422c2ab4587165711d Mon Sep 17 00:00:00 2001 From: atvanguard <93arpit@gmail.com> Date: Wed, 13 May 2020 20:11:13 +0530 Subject: [PATCH] dev: Remove concurrent seal check --- consensus/bor/bor.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/consensus/bor/bor.go b/consensus/bor/bor.go index 700bc879e..204c560eb 100644 --- a/consensus/bor/bor.go +++ b/consensus/bor/bor.go @@ -728,9 +728,9 @@ func (c *Bor) Authorize(signer common.Address, signFn SignerFn) { // Seal implements consensus.Engine, attempting to create a sealed block using // the local signing credentials. func (c *Bor) Seal(chain consensus.ChainReader, block *types.Block, results chan<- *types.Block, stop <-chan struct{}) error { - if c.activeSealingOp != nil { - return &SealingInFlightError{c.activeSealingOp.number} - } + // if c.activeSealingOp != nil { + // return &SealingInFlightError{c.activeSealingOp.number} + // } header := block.Header() // Sealing the genesis block is not supported -- GitLab