Removed the overly conservative check

This commit is contained in:
Igor Katson 2024-12-07 12:14:59 +00:00
parent afca0fbbe3
commit 82f167d50d
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
2 changed files with 1 additions and 4 deletions

View file

@ -399,10 +399,6 @@ impl ManagedTorrent {
}
}
if !start_paused && peer_rx.is_none() {
bail!("logic bug: start(start_paused=false, peer_rx=None) called. peer_rx must be set if starting the torrent")
}
let session = self
.shared
.session