mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-03 02:23:48 +00:00
dev: Remove concurrent seal check
This commit is contained in:
parent
0f8d3b1006
commit
9f6df9ade0
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue