From eb9032715b0a200326b540a09bf05748cfe53160 Mon Sep 17 00:00:00 2001 From: redshiftzero Date: Thu, 12 Dec 2024 18:26:16 -0500 Subject: [PATCH] pcli: remove `use_compat_address` option --- crates/bin/pcli/src/command/tx.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/crates/bin/pcli/src/command/tx.rs b/crates/bin/pcli/src/command/tx.rs index 5b5629d23d..7ddc82a56f 100644 --- a/crates/bin/pcli/src/command/tx.rs +++ b/crates/bin/pcli/src/command/tx.rs @@ -264,10 +264,6 @@ pub enum TxCmd { /// The selected fee tier to multiply the fee amount by. #[clap(short, long, default_value_t)] fee_tier: FeeTier, - /// Whether to use a Bech32(non-m) address for the withdrawal (deprecated). - /// Required for some chains for a successful acknowledgement. - #[clap(long)] - use_compat_address: bool, /// Whether to use a transparent address (bech32, 32-byte) for /// the return address in the withdrawal. /// Required for some chains for a successful acknowledgement. @@ -1023,7 +1019,6 @@ impl TxCmd { channel, source, fee_tier, - use_compat_address, use_transparent_address, } => { let destination_chain_address = to; @@ -1138,7 +1133,7 @@ impl TxCmd { return_address: ephemeral_return_address, // TODO: impl From for ChannelId source_channel: ChannelId::from_str(format!("channel-{}", channel).as_ref())?, - use_compat_address: *use_compat_address, + use_compat_address: false, use_transparent_address: *use_transparent_address, ics20_memo: "".to_string(), };