From 0426de8c4024890b7ea1d2701fa0a5a485f1339c Mon Sep 17 00:00:00 2001 From: xapski Date: Thu, 25 May 2023 03:45:56 +0000 Subject: [PATCH] May 25, 2023, 4:45 AM --- contracts/Campaign.sol | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/contracts/Campaign.sol b/contracts/Campaign.sol index 8996716..5b2a4bb 100644 --- a/contracts/Campaign.sol +++ b/contracts/Campaign.sol @@ -196,11 +196,11 @@ contract Campaign is KeeperCompatibleInterface, ReentrancyGuard{ rewards[_price] = address(newReward); } - function endCampaign() external isCreator { - if(c_state == C_State.Expired){revert();} - c_state = C_State.Canceled; - emit CampaignCanceled(); - } + // function endCampaign() external isCreator { + // if(c_state == C_State.Expired){revert();} + // c_state = C_State.Canceled; + // emit CampaignCanceled(); + // } // update functions function updateCampaignURI(string memory _campaignURI) external isCreator {