Skip to content

Commit

Permalink
fix(ucs01): use string beyond correctly
Browse files Browse the repository at this point in the history
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
  • Loading branch information
aeryz committed Oct 20, 2023
1 parent 1f1edbc commit 630fa6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evm/contracts/apps/ucs/01-relay/Relay.sol
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ contract UCS01Relay is IBCAppBase {
address receiver = RelayLib.hexToAddress(packet.receiver);
address denomAddress;
string memory denom;
if (!denomSlice.equals(trimedDenom)) {
if (!denomSlice.equals(token.denom.toSlice())) {
denom = trimedDenom.toString();
denomAddress = RelayLib.hexToAddress(denom);
// The token must be outstanding.
Expand Down

0 comments on commit 630fa6b

Please sign in to comment.