Преглед на файлове

Update `_revokeRole` documentation in AccessControl (#5321)

Co-authored-by: Ernesto García <ernestognw@gmail.com>
Maks преди 9 месеца
родител
ревизия
a2a5dc26a1
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      contracts/access/AccessControl.sol

+ 1 - 1
contracts/access/AccessControl.sol

@@ -191,7 +191,7 @@ abstract contract AccessControl is Context, IAccessControl, ERC165 {
     }
 
     /**
-     * @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked.
+     * @dev Attempts to revoke `role` from `account` and returns a boolean indicating if `role` was revoked.
      *
      * Internal function without access restriction.
      *