mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-05-02 03:02:54 -04:00
Avoid increment reorg counter twice (#2082)
This commit is contained in:
@@ -146,7 +146,6 @@ func (c *ChainService) ApplyForkChoiceRule(ctx context.Context, block *pb.Beacon
|
||||
if newState.Slot != postState.Slot {
|
||||
log.Warnf("Reorg happened, post state slot at %d, new head state at slot %d",
|
||||
postState.Slot-params.BeaconConfig().GenesisSlot, newState.Slot-params.BeaconConfig().GenesisSlot)
|
||||
reorgCount.Inc()
|
||||
}
|
||||
|
||||
reorgCount.Inc()
|
||||
|
||||
Reference in New Issue
Block a user