tracker: update reslicing to use implicit slice bounds
This commit is contained in:
parent
29dc5f5fb3
commit
b12867dcf2
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue