diff --git a/evm/contracts/apps/ucs/01-relay/Relay.sol b/evm/contracts/apps/ucs/01-relay/Relay.sol index bcea22cce1..4fcbf82cb7 100644 --- a/evm/contracts/apps/ucs/01-relay/Relay.sol +++ b/evm/contracts/apps/ucs/01-relay/Relay.sol @@ -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.