From 31487bcd9b5817e56863d595a2b8cf2ddc7051ef Mon Sep 17 00:00:00 2001 From: Damian Nolan Date: Tue, 8 Feb 2022 16:49:55 +0100 Subject: [PATCH] fix: ica host OnRecvPacket error acknowledgement (#885) --- modules/apps/27-interchain-accounts/host/ibc_module.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/apps/27-interchain-accounts/host/ibc_module.go b/modules/apps/27-interchain-accounts/host/ibc_module.go index be302e09151..630c4d44fc1 100644 --- a/modules/apps/27-interchain-accounts/host/ibc_module.go +++ b/modules/apps/27-interchain-accounts/host/ibc_module.go @@ -105,7 +105,7 @@ func (im IBCModule) OnRecvPacket( _ sdk.AccAddress, ) ibcexported.Acknowledgement { if !im.keeper.IsHostEnabled(ctx) { - return channeltypes.NewErrorAcknowledgement(types.ErrHostSubModuleDisabled.Error()) + return types.NewErrorAcknowledgement(types.ErrHostSubModuleDisabled) } txResponse, err := im.keeper.OnRecvPacket(ctx, packet)