From 425b05939eecefb8071c15da46cb0ac684257b03 Mon Sep 17 00:00:00 2001 From: Damian Nolan Date: Tue, 8 Feb 2022 10:18:38 +0100 Subject: [PATCH] updating error acknowledgement return in OnRecvPacket --- 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)