Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Fix gateway address conversion #407

Merged
merged 2 commits into from
Dec 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions ipc/cli/src/commands/crossmsg/fund.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use async_trait::async_trait;
use clap::Args;
use fvm_shared::address::Address;
use ipc_sdk::subnet_id::SubnetID;
use std::{fmt::Debug, str::FromStr};

Expand Down Expand Up @@ -34,7 +33,7 @@ impl CommandLineHandler for Fund {
None => None,
};
let gateway_addr = match &arguments.gateway_address {
Some(address) => Some(Address::from_str(address)?),
Some(address) => Some(require_fil_addr_from_str(address)?),
None => None,
};

Expand Down