Skip to content

Commit

Permalink
make delete nonReentrant
Browse files Browse the repository at this point in the history
  • Loading branch information
cyri113 committed Jul 22, 2024
1 parent 3a6496d commit 9e0ed8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/ApplicationManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ contract ApplicationManager is
emit ApplicationUpdated(id, applications[id]);
}

function deleteApplication(uint id) external restricted {
function deleteApplication(uint id) external restricted nonReentrant {
require(applicationExists(id), "Application does not exist");
addressUsed[applications[id].account] = false;
emit ApplicationDeleted(id, applications[id]);
Expand Down

0 comments on commit 9e0ed8b

Please sign in to comment.