From 62793c77662ecae50e27964b1d16b557c72aad64 Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Wed, 27 Sep 2023 18:00:46 +0200 Subject: [PATCH] token-2022: Fix build with zk-ops disabled (#5372) --- .../src/extension/confidential_transfer/verify_proof.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/token/program-2022/src/extension/confidential_transfer/verify_proof.rs b/token/program-2022/src/extension/confidential_transfer/verify_proof.rs index 48895a23813..67c3ed09a8b 100644 --- a/token/program-2022/src/extension/confidential_transfer/verify_proof.rs +++ b/token/program-2022/src/extension/confidential_transfer/verify_proof.rs @@ -268,6 +268,7 @@ pub fn verify_transfer_proof( /// Verify zero-knowledge proof needed for a [Transfer] instruction with fee and return the /// corresponding proof context. +#[cfg(feature = "zk-ops")] pub fn verify_transfer_with_fee_proof( account_info_iter: &mut Iter<'_, AccountInfo<'_>>, proof_instruction_offset: i64,