client.go | 2 -- torrent.go | 1 - diff --git a/client.go b/client.go index bb0f4f4c28a67b8e86b50344a2d1fd5a65a53536..3e899549d7c5c1215791c653918213a6a22cbb55 100644 --- a/client.go +++ b/client.go @@ -81,8 +81,6 @@ websocketTrackers websocketTrackers activeAnnounceLimiter limiter.Instance - - clientPieceRequestOrder } type ipStr string diff --git a/torrent.go b/torrent.go index 6eab0d69e616686a5c60787f560adec6b0818d0a..c56ddbd181ecaf24d7969bca7db3d6d4b1a7d337 100644 --- a/torrent.go +++ b/torrent.go @@ -412,7 +412,6 @@ } // This seems to be all the follow-up tasks after info is set, that can't fail. func (t *Torrent) onSetInfo() { - t.cl.clientPieceRequestOrder.addPieces(t, t.numPieces()) t.iterPeers(func(p *Peer) { p.onGotInfo(t.info) })