Unverified Commit 6af4ed61 by Simon Perriard Committed by GitHub

revokeRole spec mismatch (#2872)

revokeRole emits {RoleRevoked} event if `account` has been revoked `role`

Greetings from ChainSecurity!
parent 01f2ff1b
...@@ -150,7 +150,7 @@ abstract contract AccessControl is Context, IAccessControl, ERC165 { ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment