Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kidambisrinivas committed Mar 19, 2024
1 parent 24c9833 commit 83bb4ad
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions contracts/src/v0.8/vrf/dev/VRFCoordinatorV2_5.sol
Original file line number Diff line number Diff line change
Expand Up @@ -500,11 +500,11 @@ contract VRFCoordinatorV2_5 is VRF, SubscriptionAPI, IVRFCoordinatorV2Plus {

// stack too deep error
{
// We want to charge users exactly for how much gas they use with an additional premium
// in their callback. If onlyPremium is true, only premium is charged without the gas
// cost. The gasAfterPaymentCalculation is meant to cover these additional operations
// where we decrement the subscription balance and increment the oracles withdrawable
// balance.
// We want to charge users exactly for how much gas they use in their callback with
// an additional premium. If onlyPremium is true, only premium is charged without
// the gas cost. The gasAfterPaymentCalculation is meant to cover these additional
// operations where we decrement the subscription balance and increment the
// withdrawable balance.
bool isFeedStale;
(payment, isFeedStale) = _calculatePaymentAmount(startGas, gasPrice, nativePayment, onlyPremium);
if (isFeedStale) {
Expand Down

0 comments on commit 83bb4ad

Please sign in to comment.