Skip to content

Commit

Permalink
Merge pull request #102 from hyeonLewis/fix-loadsnapshot
Browse files Browse the repository at this point in the history
Skip nil validator for snapshot
  • Loading branch information
blukat29 authored Sep 26, 2024
2 parents 5e32e8f + 47726b6 commit 74d7f51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions consensus/istanbul/validator/weighted.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ func RecoverWeightedCouncilProposer(valSet istanbul.ValidatorSet, proposerAddrs
_, val := weightedCouncil.GetByAddress(proposerAddr)
if val == nil {
logger.Error("Proposer is not available now.", "proposer address", proposerAddr)
// The valSet.proposers hasn't been used since Randao HF.
continue
}
proposers = append(proposers, val)

Expand Down

0 comments on commit 74d7f51

Please sign in to comment.