Skip to content

Commit a89786e

Browse files
committed
fix: renounce admin role from deployer
1 parent 0101900 commit a89786e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/Deploy.s.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ contract Deploy is Script {
3939
rewards.grantRole(rewards.DEFAULT_ADMIN_ROLE(), admin);
4040

4141
// Revoke admin role from deployer
42-
rewards.revokeRole(rewards.DEFAULT_ADMIN_ROLE(), address(this));
42+
rewards.revokeRole(rewards.DEFAULT_ADMIN_ROLE(), msg.sender);
4343

4444
vm.stopBroadcast();
4545

0 commit comments

Comments
 (0)