Skip to content

Commit

Permalink
pcli: remove use_compat_address option
Browse files Browse the repository at this point in the history
  • Loading branch information
redshiftzero committed Dec 12, 2024
1 parent dd769a3 commit eb90327
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions crates/bin/pcli/src/command/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -1023,7 +1019,6 @@ impl TxCmd {
channel,
source,
fee_tier,
use_compat_address,
use_transparent_address,
} => {
let destination_chain_address = to;
Expand Down Expand Up @@ -1138,7 +1133,7 @@ impl TxCmd {
return_address: ephemeral_return_address,
// TODO: impl From<u64> 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(),
};
Expand Down

0 comments on commit eb90327

Please sign in to comment.