Initial peers now passed to read_metainfo_from_peer_receiver
This commit is contained in:
parent
f337ab1837
commit
5ee9390bb1
2 changed files with 11 additions and 8 deletions
|
|
@ -504,6 +504,7 @@ impl Session {
|
|||
let (info, dht_rx, initial_peers) = match read_metainfo_from_peer_receiver(
|
||||
self.peer_id,
|
||||
info_hash,
|
||||
opts.initial_peers.clone().unwrap_or_default(),
|
||||
dht_rx,
|
||||
Some(self.merge_peer_opts(opts.peer_opts)),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue