account subcommand now requests binary64
This commit is contained in:
parent
fe3729c33e
commit
a4f5f3e978
|
@ -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,
|
||||
}
|
||||
|
|
|
@ -1120,7 +1120,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,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue