Group typo fixes #2 (#5561)

Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
This commit is contained in:
Hadrien Croubois
2025-04-01 22:23:19 +02:00
committed by GitHub
parent 1873ecb38e
commit 450b833278
14 changed files with 33 additions and 41 deletions

View File

@ -5,10 +5,10 @@ pragma solidity ^0.8.20;
import {AccessControl} from "../../../access/AccessControl.sol";
contract AccessControlModified is AccessControl {
error AccessControlNonRevokable();
error AccessControlNonRevocable();
// Override the revokeRole function
function revokeRole(bytes32, address) public pure override {
revert AccessControlNonRevokable();
revert AccessControlNonRevocable();
}
}