Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
fix: change timeout offset from 1 hour to 1 minute (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtieri authored Aug 23, 2022
1 parent 2260da2 commit 83bdc4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/inter-tx/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (k msgServer) SubmitTx(goCtx context.Context, msg *types.MsgSubmitTx) (*typ

// timeoutTimestamp set to max value with the unsigned bit shifted to sastisfy hermes timestamp conversion
// it is the responsibility of the auth module developer to ensure an appropriate timeout timestamp
timeoutTimestamp := ctx.BlockTime().Add(time.Hour).UnixNano()
timeoutTimestamp := ctx.BlockTime().Add(time.Minute).UnixNano()
_, err = k.icaControllerKeeper.SendTx(ctx, chanCap, msg.ConnectionId, portID, packetData, uint64(timeoutTimestamp))
if err != nil {
return nil, err
Expand Down

0 comments on commit 83bdc4a

Please sign in to comment.