Skip to content

Commit

Permalink
fix: documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
guidanoli committed Oct 31, 2023
1 parent ffff480 commit 9bb09e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions onchain/rollups/contracts/consensus/quorum/Quorum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ contract Quorum is AbstractConsensus, PaymentSplitter {
/// @notice Get the total number of validators.
uint256 public immutable numOfValidators;

/// @notice Get the ID of a validator from its address.
/// @notice Get the ID of a validator by its address.
/// @dev Only validators have non-zero IDs.
mapping(address => uint256) public validatorId;

/// @notice Get the ID of a validator from its address.
/// @notice Get the address of a validator by its ID.
/// @dev Validator IDs span from 1 to the total number of validators.
/// Invalid IDs are assigned to the zero address.
mapping(uint256 => address) public validatorById;
Expand Down Expand Up @@ -127,7 +127,7 @@ contract Quorum is AbstractConsensus, PaymentSplitter {
/// @notice Check whether a validator is in favor of a claim.
/// @param _validatorId The ID of the validator
/// @param _claimData Data for submitting a claim
/// @return Array of addresses of validators in favor of claim
/// @return Whether validator is in favor of claim
/// @dev Assumes the provided ID is valid
function isValidatorInFavorOf(
uint256 _validatorId,
Expand Down

0 comments on commit 9bb09e5

Please sign in to comment.