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

Commit

Permalink
Merge pull request #407 from consensus-shipyard/rm-gateway
Browse files Browse the repository at this point in the history
Fix gateway address conversion
  • Loading branch information
adlrocha authored Dec 4, 2023
2 parents 6453ec4 + 8420d09 commit 3f47654
Showing 1 changed file with 1 addition and 2 deletions.
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

0 comments on commit 3f47654

Please sign in to comment.