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]>
(cherry picked from commit b2bb2de)
  • Loading branch information
chatton authored and mergify[bot] committed Nov 8, 2022
1 parent 2e0e66d commit cf83563
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,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 cf83563

Please sign in to comment.