cosmwasm: update packet timeout comment in ibc-translator contract (#3510)

This commit is contained in:
Nikhil Suri 2023-11-13 11:29:38 -08:00 committed by GitHub
parent 3f0abc727c
commit 9c678e1db7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ pub fn convert_cw20_to_bank_and_send(
// Create MsgTransfer protobuf message for Stargate
// https://github.com/cosmos/ibc-go/blob/main/proto/ibc/applications/transfer/v1/tx.proto#L27
// TimeoutTimestamp is 14 days from now which is the trusting period of the counterparty light client
// TimeoutTimestamp is 1 year from now, which should effectively protect against packets timing out when sending from Gateway
let ibc_msg_transfer = Anybuf::new()
.append_string(1, "transfer") // source port
.append_string(2, channel) // source channel