diff --git a/tracker/models/models.go b/tracker/models/models.go index 65e67f8..3ee9682 100644 --- a/tracker/models/models.go +++ b/tracker/models/models.go @@ -175,7 +175,7 @@ func (a *Announce) ClientID() (clientID string) { clientID = a.PeerID[1:7] } } else { - clientID = a.PeerID[0:6] + clientID = a.PeerID[:6] } }