Skip to content

Commit

Permalink
fix piecepriotiry structure
Browse files Browse the repository at this point in the history
  • Loading branch information
rumanzo committed Apr 23, 2020
1 parent 4e54ce5 commit 45d06fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libtorrent/torrent.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 45d06fa

Please sign in to comment.