Skip to content

Commit

Permalink
fix for validator peers dropped on new epoch (ethereum#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevjue authored Nov 26, 2019
1 parent 7b9f5c1 commit 1d92652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/istanbul/backend/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ func (sb *Backend) RefreshValPeers(valset istanbul.ValidatorSet) {
return
}

sb.valEnodeTable.RefreshValPeers(valset, sb.Address())
sb.valEnodeTable.RefreshValPeers(valset, sb.ValidatorAddress())
}

func (sb *Backend) ValidatorAddress() common.Address {
Expand Down

0 comments on commit 1d92652

Please sign in to comment.