account subcommand now requests binary64 (#11494)
(cherry picked from commit a4f5f3e978
)
Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
@ -40,7 +40,7 @@ pub enum UiAccountData {
|
||||
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub enum UiAccountEncoding {
|
||||
Binary,
|
||||
Binary, // SLOW! Avoid this encoding
|
||||
JsonParsed,
|
||||
Binary64,
|
||||
}
|
||||
|
@ -1230,7 +1230,7 @@ fn process_show_account(
|
||||
let cli_account = CliAccount {
|
||||
keyed_account: RpcKeyedAccount {
|
||||
pubkey: account_pubkey.to_string(),
|
||||
account: UiAccount::encode(account_pubkey, account, UiAccountEncoding::Binary, None),
|
||||
account: UiAccount::encode(account_pubkey, account, UiAccountEncoding::Binary64, None),
|
||||
},
|
||||
use_lamports_unit,
|
||||
};
|
||||
|
Reference in New Issue
Block a user