From 99ab21bbcbe3a8b1389c635d243095caeefb4d03 Mon Sep 17 00:00:00 2001 From: Sharvil Lade Date: Fri, 29 Mar 2024 22:34:29 +0530 Subject: [PATCH] chore: updated --- contracts/tasktrackr.sol | 7 ------- 1 file changed, 7 deletions(-) diff --git a/contracts/tasktrackr.sol b/contracts/tasktrackr.sol index e448aa7..977df52 100644 --- a/contracts/tasktrackr.sol +++ b/contracts/tasktrackr.sol @@ -45,13 +45,6 @@ contract tasktrackr { emit TaskUpdated(id, newTask); } - // Delete everything - - function destroyContract() public onlyOwner { - emit ContractDestroyed(msg.sender); - selfdestruct(payable(owner)); - } - // Delete according to complete and incomplete function deleteCompleteTask(uint256 id) public {