mirror of
https://github.com/transmission/transmission
synced 2025-01-03 05:25:52 +00:00
This commit is contained in:
parent
41566cfd0b
commit
16f25e1158
1 changed files with 1 additions and 0 deletions
|
@ -1260,6 +1260,7 @@ std::vector<tr_block_span_t> tr_peerMgrGetNextRequests(tr_torrent* torrent, tr_p
|
|||
{
|
||||
swarm.wishlist = std::make_unique<Wishlist>(std::make_unique<tr_swarm::WishlistMediator>(swarm));
|
||||
}
|
||||
swarm.update_endgame();
|
||||
return swarm.wishlist->next(
|
||||
numwant,
|
||||
[peer](tr_piece_index_t p) { return peer->hasPiece(p); },
|
||||
|
|
Loading…
Reference in a new issue