Skip to content

Commit

Permalink
adding comment to discarded return arg
Browse files Browse the repository at this point in the history
  • Loading branch information
damiannolan committed Aug 31, 2023
1 parent a7f2e1f commit 6d85b70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/apps/29-fee/ibc_middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ func (im IBCMiddleware) OnChanUpgradeAck(ctx sdk.Context, portID, channelID, cou

// OnChanUpgradeOpen implements the IBCModule interface
func (im IBCMiddleware) OnChanUpgradeOpen(ctx sdk.Context, portID, channelID string, order channeltypes.Order, connectionHops []string, version string) {
// discard the version metadata returned as upgrade fields have already been validated in previous handshake steps.
_, err := types.MetadataFromVersion(version)
if err != nil {
// set fee disabled and passthrough to the next middleware or application in callstack.
Expand Down

0 comments on commit 6d85b70

Please sign in to comment.