diff --git a/internal/p2p/peermanager.go b/internal/p2p/peermanager.go index 0febaad3c..77736c5d5 100644 --- a/internal/p2p/peermanager.go +++ b/internal/p2p/peermanager.go @@ -42,7 +42,7 @@ const ( type PeerScore int const ( - PeerScorePersistent PeerScore = math.MaxInt // persistent peers + PeerScorePersistent PeerScore = math.MaxInt16 // persistent peers MaxPeerScoreNotPersistent PeerScore = PeerScorePersistent - 1 )