CLI: Use Base58 encoding rather than deprecated Binary for TX decode
This commit is contained in:
parent
90a591da0e
commit
83f93fed02
|
@ -837,7 +837,7 @@ pub fn parse_command(
|
||||||
("decode-transaction", Some(matches)) => {
|
("decode-transaction", Some(matches)) => {
|
||||||
let blob = value_t_or_exit!(matches, "transaction", String);
|
let blob = value_t_or_exit!(matches, "transaction", String);
|
||||||
let encoding = match matches.value_of("encoding").unwrap() {
|
let encoding = match matches.value_of("encoding").unwrap() {
|
||||||
"base58" => UiTransactionEncoding::Binary,
|
"base58" => UiTransactionEncoding::Base58,
|
||||||
"base64" => UiTransactionEncoding::Base64,
|
"base64" => UiTransactionEncoding::Base64,
|
||||||
_ => unreachable!(),
|
_ => unreachable!(),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue