Skip to content

Commit

Permalink
fix: ica host OnRecvPacket error acknowledgement (#885) (#886)
Browse files Browse the repository at this point in the history
(cherry picked from commit 31487bc)

Co-authored-by: Damian Nolan <damiannolan@gmail.com>
  • Loading branch information
mergify[bot] and damiannolan committed Feb 8, 2022
1 parent 45a84f2 commit 37bbee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/apps/27-interchain-accounts/host/ibc_module.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 37bbee1

Please sign in to comment.