Skip to content

Commit

Permalink
Merge pull request #879 from CosmWasm/ibc_cleanup
Browse files Browse the repository at this point in the history
Remove unused NegotiateAppVersion ibc callback
  • Loading branch information
alpe authored Jun 3, 2022
2 parents 4525d51 + f6ca36f commit 775f1cc
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions x/wasm/ibc.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,17 +299,6 @@ func (i IBCHandler) OnTimeoutPacket(ctx sdk.Context, packet channeltypes.Packet,
return nil
}

func (i IBCHandler) NegotiateAppVersion(
ctx sdk.Context,
order channeltypes.Order,
connectionID string,
portID string,
counterparty channeltypes.Counterparty,
proposedVersion string,
) (version string, err error) {
return proposedVersion, nil // accept all
}

func newIBCPacket(packet channeltypes.Packet) wasmvmtypes.IBCPacket {
timeout := wasmvmtypes.IBCTimeout{
Timestamp: packet.TimeoutTimestamp,
Expand Down

0 comments on commit 775f1cc

Please sign in to comment.