Skip to content

Commit

Permalink
Update modules/apps/29-fee/ibc_middleware.go
Browse files Browse the repository at this point in the history
Co-authored-by: Damian Nolan <damiannolan@gmail.com>
  • Loading branch information
faddat and damiannolan committed Jun 3, 2022
1 parent 23d559a commit 882e9f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/apps/29-fee/ibc_middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func (im IBCMiddleware) OnAcknowledgementPacket(
return im.app.OnAcknowledgementPacket(ctx, packet, acknowledgement, relayer)
}

ack := &types.IncentivizedAcknowledgement{}
var ack types.IncentivizedAcknowledgement
if err := types.ModuleCdc.UnmarshalJSON(acknowledgement, ack); err != nil {
return sdkerrors.Wrapf(err, "cannot unmarshal ICS-29 incentivized packet acknowledgement: %v", ack)
}
Expand Down

0 comments on commit 882e9f1

Please sign in to comment.