Skip to content

Commit

Permalink
fix: ica host OnRecvPacket error acknowledgement (cosmos#885)
Browse files Browse the repository at this point in the history
  • Loading branch information
damiannolan authored Feb 8, 2022
1 parent c378ff3 commit 31487bc
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 31487bc

Please sign in to comment.