tracker: update reslicing to use implicit slice bounds

This commit is contained in:
Leo Balduf 2015-10-28 19:56:04 +01:00
parent 29dc5f5fb3
commit b12867dcf2

View file

@ -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]
}
}