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

Commit d68329c

Browse files
authored
token-cli: Display all mint and account extensions (#5495)
* token-cli: Display all mint and account extensions * Fixup "Hi" -> "High"
1 parent 3ad86b2 commit d68329c

File tree

2 files changed

+230
-108
lines changed

2 files changed

+230
-108
lines changed

token/cli/src/main.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2168,9 +2168,6 @@ async fn command_display(config: &Config<'_>, address: Pubkey) -> CommandResult
21682168

21692169
let token_data = parse_token(&account_data.data, decimals);
21702170

2171-
// remove on next `solana-account-decoder` upgrade
2172-
let ui_confidential_transfer_extension = has_confidential_transfer(&account_data.data);
2173-
21742171
match token_data {
21752172
Ok(TokenAccountType::Account(account)) => {
21762173
let mint_address = Pubkey::from_str(&account.mint)?;
@@ -2198,7 +2195,6 @@ async fn command_display(config: &Config<'_>, address: Pubkey) -> CommandResult
21982195
epoch: epoch_info.epoch,
21992196
program_id: config.program_id.to_string(),
22002197
mint,
2201-
ui_confidential_transfer_extension,
22022198
};
22032199

22042200
Ok(config.output_format.formatted_string(&cli_output))

0 commit comments

Comments
 (0)