diff --git a/libtorrent/torrent.go b/libtorrent/torrent.go index 5206704..74f3374 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.FillNotHaveFiles("1") + newstructure.PiecePriority = newstructure.Pieces } func (newstructure *NewTorrentStructure) FillSizes() {