diff --git a/node/miner/src/pora.rs b/node/miner/src/pora.rs index d751737..1c403eb 100644 --- a/node/miner/src/pora.rs +++ b/node/miner/src/pora.rs @@ -95,7 +95,7 @@ impl<'a> Miner<'a> { .enumerate() .zip(scratch_pad.iter().cycle()) .zip(availabilities.into_iter()) - .filter_map(|(data, availiable)| availiable.then_some(data)) + .filter_map(|(data, available)| available.then_some(data)) { inc_counter(&PAD_MIX_COUNT); // Rust can optimize this loop well.