Skip to content

Commit

Permalink
chore: updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sharvil-lade committed Mar 29, 2024
1 parent c7a4fa3 commit 99ab21b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions contracts/tasktrackr.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 99ab21b

Please sign in to comment.