Skip to content

Commit

Permalink
allow activateFactors called by anyone
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesjhongc committed Jan 17, 2023
1 parent a7ba228 commit a23af06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/LimitOrder.sol
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ contract LimitOrder is ILimitOrder, BaseLibEIP712, SignatureValidator, Reentranc
factorsTimeLock = block.timestamp + factorActivateDelay;
}

function activateFactors() external onlyOperator {
function activateFactors() external {
require(factorsTimeLock != 0, "LimitOrder: no pending fee factors");
require(block.timestamp >= factorsTimeLock, "LimitOrder: fee factors timelocked");
factorsTimeLock = 0;
Expand Down

0 comments on commit a23af06

Please sign in to comment.