Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
0xnogo committed Nov 14, 2024
1 parent 02b3521 commit d09ef5a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions execute/exectypes/costly_messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ func (c *CCIPMessageFeeUSD18Calculator) MessageFeeUSD18(
// message will not be executed (as it will be considered too costly).
c.lggr.Warnw("missing timestamp for message", "messageID", msg.Header.MessageID)
} else {
feeUSD18 = waitBoostedFee(c.lggr, c.now().Sub(timestamp), feeUSD18, c.relativeBoostPerWaitHour)
feeUSD18 = waitBoostedFee(c.now().Sub(timestamp), feeUSD18, c.relativeBoostPerWaitHour)
}

messageFees[msg.Header.MessageID] = feeUSD18
Expand All @@ -327,7 +327,6 @@ func (c *CCIPMessageFeeUSD18Calculator) MessageFeeUSD18(
//
// wait_boosted_fee(m) = (1 + (now - m.send_time).hours * RELATIVE_BOOST_PER_WAIT_HOUR) * fee(m)
func waitBoostedFee(
lggr logger.Logger,
waitTime time.Duration,
fee *big.Int,
relativeBoostPerWaitHour float64) *big.Int {
Expand Down

0 comments on commit d09ef5a

Please sign in to comment.