Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 312e5e1

Browse files
token-2022: disable transfer_with_fee instruction constructor (#4084)
1 parent a4a9ae0 commit 312e5e1

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

Cargo.lock

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

token/program-2022/src/extension/confidential_transfer/instruction.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -924,6 +924,7 @@ pub fn transfer(
924924
/// Create a `Transfer` instruction with fee proof
925925
#[allow(clippy::too_many_arguments)]
926926
#[cfg(not(target_os = "solana"))]
927+
#[cfg(feature = "proof-program")]
927928
pub fn transfer_with_fee(
928929
token_program_id: &Pubkey,
929930
source_token_account: &Pubkey,

0 commit comments

Comments
 (0)