Skip to content

Commit

Permalink
account subcommand now requests binary64
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines authored and mergify[bot] committed Aug 9, 2020
1 parent fe3729c commit a4f5f3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion account-decoder/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down
2 changes: 1 addition & 1 deletion cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit a4f5f3e

Please sign in to comment.