mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-15 16:33:47 +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
|
// Seal implements consensus.Engine, attempting to create a sealed block using
|
||||||
// the local signing credentials.
|
// the local signing credentials.
|
||||||
func (c *Bor) Seal(chain consensus.ChainReader, block *types.Block, results chan<- *types.Block, stop <-chan struct{}) error {
|
func (c *Bor) Seal(chain consensus.ChainReader, block *types.Block, results chan<- *types.Block, stop <-chan struct{}) error {
|
||||||
if c.activeSealingOp != nil {
|
// if c.activeSealingOp != nil {
|
||||||
return &SealingInFlightError{c.activeSealingOp.number}
|
// return &SealingInFlightError{c.activeSealingOp.number}
|
||||||
}
|
// }
|
||||||
header := block.Header()
|
header := block.Header()
|
||||||
|
|
||||||
// Sealing the genesis block is not supported
|
// Sealing the genesis block is not supported
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue