revokeRole spec mismatch (#2872)
revokeRole emits {RoleRevoked} event if `account` has been revoked `role`
Greetings from ChainSecurity!
This commit is contained in:
@ -150,7 +150,7 @@ abstract contract AccessControl is Context, IAccessControl, ERC165 {
|
|||||||
* purpose is to provide a mechanism for accounts to lose their privileges
|
* 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 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.
|
* event.
|
||||||
*
|
*
|
||||||
* Requirements:
|
* Requirements:
|
||||||
|
|||||||
Reference in New Issue
Block a user