From b12867dcf2538bac0ceefc9deca56a73fdb65f43 Mon Sep 17 00:00:00 2001 From: Leo Balduf Date: Wed, 28 Oct 2015 19:56:04 +0100 Subject: [PATCH] tracker: update reslicing to use implicit slice bounds --- tracker/models/models.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracker/models/models.go b/tracker/models/models.go index 65e67f8..3ee9682 100644 --- a/tracker/models/models.go +++ b/tracker/models/models.go @@ -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] } }