diff --git a/internal/p2p/peermanager.go b/internal/p2p/peermanager.go index 3bf2db987..4c314858b 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 )