mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
This commit is contained in:
@@ -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); },
|
||||
|
||||
Reference in New Issue
Block a user