Remove outdated comment

This commit is contained in:
Igor Katson 2024-05-02 09:11:45 +01:00
parent d2e37ead51
commit 609f9d92ae
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5

View file

@ -1382,10 +1382,8 @@ impl PeerHandler {
.spawn_block_in_place(move || { .spawn_block_in_place(move || {
let index = piece.index; let index = piece.index;
// TODO: in theory we should unmark the piece as downloaded here. But if there was a disk error, what // Not being able to write to storage is a fatal error. You need to unpause the
// should we really do? If we unmark it, it will get requested forever... // torrent to recover from it.
//
// So let's just unwrap and abort.
match self match self
.state .state
.file_ops() .file_ops()