Commit 188c21dc authored by Mark Tyneway's avatar Mark Tyneway

lint: fix

parent dc3b0f90
...@@ -60,8 +60,8 @@ contract L2OutputOracle is Initializable, Semver { ...@@ -60,8 +60,8 @@ contract L2OutputOracle is Initializable, Semver {
/// @notice Constructs the L2OutputOracle contract. /// @notice Constructs the L2OutputOracle contract.
/// @param _submissionInterval Interval in blocks at which checkpoints must be submitted. /// @param _submissionInterval Interval in blocks at which checkpoints must be submitted.
/// @param _l2BlockTime The time per L2 block, in seconds. /// @param _l2BlockTime The time per L2 block, in seconds.
/// @param _finalizationPeriodSeconds The amount of time that must pass for an output proposal to /// @param _finalizationPeriodSeconds The amount of time that must pass for an output proposal
// be considered canonical. // to be considered canonical.
constructor( constructor(
uint256 _submissionInterval, uint256 _submissionInterval,
uint256 _l2BlockTime, uint256 _l2BlockTime,
...@@ -95,10 +95,7 @@ contract L2OutputOracle is Initializable, Semver { ...@@ -95,10 +95,7 @@ contract L2OutputOracle is Initializable, Semver {
uint256 _startingTimestamp, uint256 _startingTimestamp,
address _proposer, address _proposer,
address _challenger address _challenger
) ) public reinitializer(2) {
public
reinitializer(2)
{
require( require(
_startingTimestamp <= block.timestamp, _startingTimestamp <= block.timestamp,
"L2OutputOracle: starting L2 timestamp must be less than current time" "L2OutputOracle: starting L2 timestamp must be less than current time"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment