diff --git a/client.go b/client.go index bb0f4f4c..3e899549 100644 --- a/client.go +++ b/client.go @@ -81,8 +81,6 @@ type Client struct { websocketTrackers websocketTrackers activeAnnounceLimiter limiter.Instance - - clientPieceRequestOrder } type ipStr string diff --git a/torrent.go b/torrent.go index 6eab0d69..c56ddbd1 100644 --- a/torrent.go +++ b/torrent.go @@ -412,7 +412,6 @@ func (t *Torrent) setInfo(info *metainfo.Info) error { // 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) })