From 65a005c1662cb6f7fb055c6ce72a9479e6369f0b Mon Sep 17 00:00:00 2001 From: Vitally Marinchenko Date: Tue, 1 Oct 2024 02:13:05 +0200 Subject: [PATCH] Update DynamicRewardFarm.sol --- contracts/DynamicRewardFarm.sol | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contracts/DynamicRewardFarm.sol b/contracts/DynamicRewardFarm.sol index 36a009d..975375b 100644 --- a/contracts/DynamicRewardFarm.sol +++ b/contracts/DynamicRewardFarm.sol @@ -72,7 +72,7 @@ contract DynamicRewardFarm is TokenWrapper { } /** - * @dev This is desired because this contract is + * @dev No modifier necessary since this contract is * cloned by the factory contract calling initialize */ function initialize( @@ -84,6 +84,7 @@ contract DynamicRewardFarm is TokenWrapper { string calldata _symbol ) external + // onlyFactory { require( _defaultDuration > 0,