Skip to content

Commit

Permalink
Update dot/sync/peer_view.go
Browse files Browse the repository at this point in the history
Co-authored-by: Haiko Schol <[email protected]>
  • Loading branch information
EclesioMeloJunior and haikoschol authored Sep 19, 2024
1 parent b6a0b9d commit d3920d1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dot/sync/peer_view.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ func (p *peerViewSet) getTarget() uint32 {
}

currMax := p.target
// we are going to sort the data and remove the outliers then we will return the avg of all the valid elements
for _, view := range maps.Values(p.view) {
if view.bestBlockNumber > currMax {
currMax = view.bestBlockNumber
Expand Down

0 comments on commit d3920d1

Please sign in to comment.