From 40092ca7fe2b56b6d73ffd528f524308fd64374f Mon Sep 17 00:00:00 2001 From: NeoByteX <160131789+NeoByteXx@users.noreply.github.com> Date: Mon, 24 Feb 2025 21:02:57 +0100 Subject: [PATCH] Update pora.rs --- node/miner/src/pora.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.