diff --git a/src/window.rs b/src/window.rs index 7227766b12..2175376f78 100644 --- a/src/window.rs +++ b/src/window.rs @@ -327,7 +327,7 @@ fn process_blob( if erasure::recover( id, recycler, - &mut window, + window, *consumed, (*consumed % WINDOW_SIZE) as usize, ).is_err()