Update internal/p2p/peermanager.go

Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
This commit is contained in:
Sam Kleinman
2022-06-10 15:17:46 -04:00
committed by GitHub
parent 4c8651026a
commit f23f6e1089

View File

@@ -44,7 +44,7 @@ type PeerScore int16
const (
PeerScorePersistent PeerScore = math.MaxInt16 // persistent peers
MaxPeerScoreNotPersistent PeerScore = PeerScorePersistent - 1
DefaultMutablePeerScore int64 = 256
DefaultMutablePeerScore = 256
)
// PeerUpdate is a peer update event sent via PeerUpdates.