Skip to content

Commit

Permalink
bugfix: fixing L2 Reorg check. (0xPolygonHermez#2588)
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolay Nedkov <[email protected]>
  • Loading branch information
Psykepro authored Sep 21, 2023
1 parent d69bc87 commit 630e196
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sequencer/dbmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ func (d *dbManager) checkIfReorg() {
numberOfReorgs, err := d.state.CountReorgs(d.ctx, nil)
if err != nil {
log.Error("failed to get number of reorgs: %v", err)
return
}

if numberOfReorgs != d.numberOfReorgs {
Expand Down

0 comments on commit 630e196

Please sign in to comment.