Merge pull request #112 from mrd0ll4r/slicebounds

tracker: update reslicing to use implicit slice bounds
This commit is contained in:
Jimmy Zelinskie 2015-10-28 15:05:06 -04:00
commit 386e0d2abc

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