This commit is contained in:
Igor Katson 2021-06-28 11:36:47 +01:00
parent 205ce3265a
commit bde18ab734
5 changed files with 204 additions and 184 deletions

View file

@ -81,7 +81,7 @@ impl ChunkTracker {
pub fn mark_chunk_request_cancelled(
&mut self,
index: ValidPieceIndex,
chunk: u32,
_chunk: u32,
) -> Option<bool> {
if *self.have.get(index.get() as usize)? {
return Some(false);