Skip to content

Commit 2e27aba

Browse files
committed
fix(unsetAdmin): fixing the removal of admin and sytem
1 parent 07d95f2 commit 2e27aba

File tree

2 files changed

+4756
-4339
lines changed

2 files changed

+4756
-4339
lines changed

script/unsetAdminAndSystem.s.sol

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ contract All is Script {
1616

1717
Token token = Token(tokenAddress);
1818

19-
token.addAdminAccount(wallet);
20-
console.log("Admin account added successfully.");
19+
token.removeAdminAccount(wallet);
20+
console.log("Admin account removed successfully.");
2121

22-
token.addSystemAccount(wallet);
23-
console.log("System account added successfully.");
22+
token.removeSystemAccount(wallet);
23+
console.log("System account removed successfully.");
2424

2525
vm.stopBroadcast();
2626
}

0 commit comments

Comments
 (0)