Skip to content

Commit

Permalink
remove call to backend.Close()
Browse files Browse the repository at this point in the history
  • Loading branch information
alecps committed Sep 17, 2024
1 parent c7bea32 commit 7c56668
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion consensus/istanbul/backend/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,6 @@ func (sb *Backend) Commit(proposal istanbul.Proposal, aggregatedSeal types.Istan
if sb.chain.Config().IsL2Migration(nextBlockNum) {
sb.logger.Info("The next block is the L2 migration block, stopping announce protocol and closing istanbul backend", "currentBlock", block.NumberU64(), "hash", block.Hash(), "nextBlock", nextBlockNum)
sb.StopAnnouncing()
sb.Close()
}
return nil
}
Expand Down

0 comments on commit 7c56668

Please sign in to comment.