Skip to content

Commit

Permalink
fix: make function external
Browse files Browse the repository at this point in the history
  • Loading branch information
ypatil12 committed Nov 27, 2023
1 parent 0fd5e0c commit ff851d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BLSRegistryCoordinatorWithIndices.sol
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ contract BLSRegistryCoordinatorWithIndices is EIP712, Initializable, IBLSRegistr
}

/// @notice Returns the current quorum bitmap for the given `operatorId` or 0 if the operator is not registered for any quorum
function getCurrentQuorumBitmapByOperatorId(bytes32 operatorId) public view returns (uint192) {
function getCurrentQuorumBitmapByOperatorId(bytes32 operatorId) external view returns (uint192) {
uint256 quorumBitmapHistoryLength = _operatorIdToQuorumBitmapHistory[operatorId].length;
// the first part of this if statement is met if the operator has never registered.
// the second part is met if the operator has previously registered, but is currently deregistered
Expand Down

0 comments on commit ff851d1

Please sign in to comment.