client.go | 9 +++------ diff --git a/client.go b/client.go index b8fbdb80d8d6623e21cbeab8a98cb15ff471d11b..66667e2be1ef01ff49d09a31b1f1d55225555e02 100644 --- a/client.go +++ b/client.go @@ -1460,12 +1460,9 @@ p.EverHashed = true if correct { p.PendingChunkSpecs = nil me.downloadStrategy.TorrentGotPiece(t, int(piece)) - me.dataReady(dataSpec{ - t.InfoHash, - request{ - pp.Integer(piece), - chunkSpec{0, pp.Integer(t.PieceLength(piece))}, - }, + me.dataReady(t, request{ + pp.Integer(piece), + chunkSpec{0, pp.Integer(t.PieceLength(piece))}, }) } else { if len(p.PendingChunkSpecs) == 0 {