Skip to content

Commit 37bbee1

Browse files
fix: ica host OnRecvPacket error acknowledgement (#885) (#886)
(cherry picked from commit 31487bc) Co-authored-by: Damian Nolan <[email protected]>
1 parent 45a84f2 commit 37bbee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/apps/27-interchain-accounts/host/ibc_module.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ func (im IBCModule) OnRecvPacket(
105105
_ sdk.AccAddress,
106106
) ibcexported.Acknowledgement {
107107
if !im.keeper.IsHostEnabled(ctx) {
108-
return channeltypes.NewErrorAcknowledgement(types.ErrHostSubModuleDisabled.Error())
108+
return types.NewErrorAcknowledgement(types.ErrHostSubModuleDisabled)
109109
}
110110

111111
txResponse, err := im.keeper.OnRecvPacket(ctx, packet)

0 commit comments

Comments
 (0)