Remove unnecessary initial_peers merging code
This commit is contained in:
parent
e4845e2368
commit
afca0fbbe3
2 changed files with 1 additions and 15 deletions
|
|
@ -400,7 +400,7 @@ impl ManagedTorrent {
|
|||
}
|
||||
|
||||
if !start_paused && peer_rx.is_none() {
|
||||
bail!("logic bug: start(start_paused=true, peer_rx=None) called. peer_rx must be set if starting the torrent")
|
||||
bail!("logic bug: start(start_paused=false, peer_rx=None) called. peer_rx must be set if starting the torrent")
|
||||
}
|
||||
|
||||
let session = self
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue