Skip to content

Commit

Permalink
Removing stale comment (#2685)
Browse files Browse the repository at this point in the history
* chore: removing stale comment

* Update modules/apps/27-interchain-accounts/controller/keeper/msg_server.go

Co-authored-by: Damian Nolan <[email protected]>

* chore: fixing indentation

Co-authored-by: Damian Nolan <[email protected]>
Co-authored-by: Carlos Rodriguez <[email protected]>
  • Loading branch information
3 people authored Nov 8, 2022
1 parent c9b8064 commit b2bb2de
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ func (s msgServer) SendTx(goCtx context.Context, msg *types.MsgSendTx) (*types.M
return nil, err
}

// explicitly passing nil as the argument is discarded as the channel capability is retrieved in SendTx.
// the absolute timeout value is calculated using the controller chain block time + the relative timeout value
// this assumes time synchrony to a certain degree between the controller and counterparty host chain
absoluteTimeout := uint64(ctx.BlockTime().UnixNano()) + msg.RelativeTimeout
seq, err := s.sendTx(ctx, msg.ConnectionId, portID, msg.PacketData, absoluteTimeout)
if err != nil {
Expand Down

0 comments on commit b2bb2de

Please sign in to comment.