mirror of
https://github.com/sot-tech/mochi.git
synced 2026-06-03 03:33:36 -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]
|
clientID = a.PeerID[1:7]
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
clientID = a.PeerID[0:6]
|
clientID = a.PeerID[:6]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user