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

Commit 65bdeb4

Browse files
committed
Allow multiple options in update confidential mint
1 parent 5343f3c commit 65bdeb4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

token/cli/src/clap_app.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ pub const MULTISIG_SIGNER_ARG: ArgConstant<'static> = ArgConstant {
6464
help: "Member signer of a multisig account",
6565
};
6666

67-
pub(crate) static VALID_TOKEN_PROGRAM_IDS: [Pubkey; 2] = [spl_token_2022::ID, spl_token::ID];
67+
pub static VALID_TOKEN_PROGRAM_IDS: [Pubkey; 2] = [spl_token_2022::ID, spl_token::ID];
6868

6969
#[derive(Debug, Clone, Copy, PartialEq, EnumString, IntoStaticStr)]
7070
#[strum(serialize_all = "kebab-case")]
@@ -2045,6 +2045,7 @@ pub fn app<'a, 'b>(
20452045
.group(
20462046
ArgGroup::with_name("update_fields").args(&["approve_policy", "auditor_pubkey"])
20472047
.required(true)
2048+
.multiple(true)
20482049
)
20492050
.arg(
20502051
Arg::with_name("confidential_transfer_authority")

0 commit comments

Comments
 (0)