From 0009754f1e10dfc60a52549ab15329f173cdf74b Mon Sep 17 00:00:00 2001 From: Alexey Kostin Date: Fri, 5 Mar 2021 23:28:42 +0300 Subject: [PATCH] Revert "fix piecepriotiry structure" This reverts commit 45d06fac8bbcd0c62aa0cf318c718716e5a56081. --- libtorrent/torrent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtorrent/torrent.go b/libtorrent/torrent.go index 30bf335..d78c75f 100644 --- a/libtorrent/torrent.go +++ b/libtorrent/torrent.go @@ -158,7 +158,7 @@ func (newstructure *NewTorrentStructure) FillMissing() { newstructure.Pieces = newstructure.FillNotHaveFiles("1") } } - newstructure.PiecePriority = newstructure.Pieces + newstructure.PiecePriority = newstructure.FillNotHaveFiles("1") } func (newstructure *NewTorrentStructure) FillSizes() {