From 6af4ed6169ee4165ce86457f98c0a568bd9d7491 Mon Sep 17 00:00:00 2001 From: Simon Perriard Date: Tue, 21 Sep 2021 10:16:14 +0200 Subject: [PATCH] revokeRole spec mismatch (#2872) revokeRole emits {RoleRevoked} event if `account` has been revoked `role` Greetings from ChainSecurity! --- contracts/access/AccessControl.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/access/AccessControl.sol b/contracts/access/AccessControl.sol index e5c359552..a60d3b90f 100644 --- a/contracts/access/AccessControl.sol +++ b/contracts/access/AccessControl.sol @@ -150,7 +150,7 @@ abstract contract AccessControl is Context, IAccessControl, ERC165 { * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * - * If the calling account had been granted `role`, emits a {RoleRevoked} + * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: