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

Commit

Permalink
chore: add comment for token_id map check in unescrow_coins_validate
Browse files Browse the repository at this point in the history
  • Loading branch information
Farhad-Shabani committed Apr 10, 2024
1 parent daebb52 commit 4a42433
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/sov-ibc-transfer/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,9 @@ where
}
})?;

// NOTE: There is no way to make this fail from an honest counterparty
// chain, as this method only fails when the counterparty chain
// produces a malicious IBC transfer `send_packet()`
if let Some(token_name) = self
.ibc_transfer
.minted_token_id_to_name
Expand Down

0 comments on commit 4a42433

Please sign in to comment.