fix peer IP tracking structure

This commit is contained in:
vyzo 2020-03-07 21:11:45 +02:00
parent 20e3cf02b1
commit 398fb82e5f
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ type peerScore struct {
peerStats map[peer.ID]*peerStats
// IP colocation tracking
peerIPs map[string]peer.ID
peerIPs map[string]map[peer.ID]struct{}
}
func newPeerScore(params *PeerScoreParams) *peerScore {