Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yito88 committed Jul 2, 2024
1 parent 30f468c commit aa380d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/test-framework/src/ibc/denom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ fn derive_namada_ibc_denom<ChainA, ChainB>(
match denom.value() {
Denom::Base { raw_address, .. } => {
let path = format!("{port_id}/{channel_id}");
let ibc_token_addr = namada_ibc::storage::ibc_token(format!("{path}/{raw_address}"));
let ibc_token_addr = namada_ibc::trace::ibc_token(format!("{path}/{raw_address}"));

Ok(MonoTagged::new(Denom::Ibc {
path,
Expand All @@ -134,7 +134,7 @@ fn derive_namada_ibc_denom<ChainA, ChainB>(
Denom::Ibc { path, denom, .. } => {
let new_path = format!("{port_id}/{channel_id}/{path}");
let ibc_token_addr =
namada_ibc::storage::ibc_token(format!("{new_path}/{}", denom.hash_only()));
namada_ibc::trace::ibc_token(format!("{new_path}/{}", denom.hash_only()));

Ok(MonoTagged::new(Denom::Ibc {
path: new_path,
Expand Down

0 comments on commit aa380d2

Please sign in to comment.