Skip to content

Commit

Permalink
stake-pool: Allow mints with confidential transfer fee (#5610)
Browse files Browse the repository at this point in the history
  • Loading branch information
joncinque authored Nov 9, 2023
1 parent 1194694 commit 6ed7254
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stake-pool/program/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -500,10 +500,11 @@ impl StakePool {

/// Checks if the given extension is supported for the stake pool mint
pub fn is_extension_supported_for_mint(extension_type: &ExtensionType) -> bool {
const SUPPORTED_EXTENSIONS: [ExtensionType; 7] = [
const SUPPORTED_EXTENSIONS: [ExtensionType; 8] = [
ExtensionType::Uninitialized,
ExtensionType::TransferFeeConfig,
ExtensionType::ConfidentialTransferMint,
ExtensionType::ConfidentialTransferFeeConfig,
ExtensionType::DefaultAccountState, // ok, but a freeze authority is not
ExtensionType::InterestBearingConfig,
ExtensionType::MetadataPointer,
Expand Down

0 comments on commit 6ed7254

Please sign in to comment.