From 73b528a818e74e8ae584ae19775ca1aaea879cf7 Mon Sep 17 00:00:00 2001 From: alexeykoren <2365507+alexeykoren@users.noreply.github.com> Date: Fri, 1 Nov 2024 15:46:32 +0100 Subject: [PATCH] Fix build warnings --- components/zcash_protocol/src/consensus.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/zcash_protocol/src/consensus.rs b/components/zcash_protocol/src/consensus.rs index f89646a03..e8f45028f 100644 --- a/components/zcash_protocol/src/consensus.rs +++ b/components/zcash_protocol/src/consensus.rs @@ -417,7 +417,9 @@ impl Parameters for RegtestNetwork { NetworkUpgrade::Heartwood => Some(BlockHeight(1)), NetworkUpgrade::Canopy => Some(BlockHeight(1)), NetworkUpgrade::Nu5 => Some(BlockHeight(1)), + #[cfg(zcash_unstable = "nu6")] NetworkUpgrade::Nu6 => Some(BlockHeight(1)), + #[cfg(zcash_unstable = "nu6" /* TODO nu7 */ )] NetworkUpgrade::Nu7 => Some(BlockHeight(1)), #[cfg(feature = "zfuture")] NetworkUpgrade::ZFuture => None,