mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-30 05:19:28 -07:00
Merge pull request #112 from mrd0ll4r/slicebounds
tracker: update reslicing to use implicit slice bounds
This commit is contained in:
@@ -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]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user