CLI: Use Base58 encoding rather than deprecated Binary for TX decode (#12265)
(cherry picked from commit 83f93fed02
)
Co-authored-by: Trent Nelson <trent@solana.com>
This commit is contained in:
@ -867,7 +867,7 @@ pub fn parse_command(
|
||||
("decode-transaction", Some(matches)) => {
|
||||
let blob = value_t_or_exit!(matches, "transaction", String);
|
||||
let encoding = match matches.value_of("encoding").unwrap() {
|
||||
"base58" => UiTransactionEncoding::Binary,
|
||||
"base58" => UiTransactionEncoding::Base58,
|
||||
"base64" => UiTransactionEncoding::Base64,
|
||||
_ => unreachable!(),
|
||||
};
|
||||
|
Reference in New Issue
Block a user