Skip to content

Commit

Permalink
X => N
Browse files Browse the repository at this point in the history
  • Loading branch information
oldchili committed Dec 5, 2023
1 parent 3793b3e commit 76a377e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StickyOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ contract StickyOracle {
}

// days_ is the number of daily samples to initialize on top of the current one
// days_ == X will fill up a window corresponding to [lo == X, hi == 1] along with the current day
// days_ == N will fill up a window corresponding to [lo == N, hi == 1] along with the current day
// days_ should be selected carefully as too many iterations can cause the transaction to run out of gas
// if the initiated timespan is shorter than the [lo, hi] window the initial cap will just be used for longer
function init(uint256 days_) external auth {
Expand Down

0 comments on commit 76a377e

Please sign in to comment.