Skip to content

Commit

Permalink
Update x/cronos/keeper/mock/ibckeeper_mock.go
Browse files Browse the repository at this point in the history
Co-authored-by: mmsqe <[email protected]>
Signed-off-by: yihuang <[email protected]>
  • Loading branch information
yihuang and mmsqe authored Oct 9, 2023
1 parent 00e9117 commit c2c3be0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x/cronos/keeper/mock/ibckeeper_mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ func (i IbcKeeperMock) SendTransfer(ctx sdk.Context, sourcePort, sourceChannel s
}

func (i IbcKeeperMock) GetDenomTrace(ctx sdk.Context, denomTraceHash tmbytes.HexBytes) (types.DenomTrace, bool) {
if denomTraceHash.String() == "6B5A664BF0AF4F71B2F0BAA33141E2F1321242FBD5D19762F541EC971ACB0865" { // #nosec G101
// #nosec G101
if denomTraceHash.String() == "6B5A664BF0AF4F71B2F0BAA33141E2F1321242FBD5D19762F541EC971ACB0865" {
return types.DenomTrace{
Path: "transfer/channel-0",
BaseDenom: "basetcro",
Expand Down

0 comments on commit c2c3be0

Please sign in to comment.