Skip to content

Commit

Permalink
revert epoch to signerEpoch
Browse files Browse the repository at this point in the history
  • Loading branch information
ahramy committed Oct 29, 2024
1 parent 3a1bbc7 commit 33bae50
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions contracts/governance/BaseWeightedMultisig.sol
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ abstract contract BaseWeightedMultisig is IBaseWeightedMultisig {

/**
* @notice This function returns the signers hash for a given epoch
* @param epoch The given epoch
* @param signerEpoch The given epoch
* @return bytes32 The signers hash for the given epoch
*/
function signersHashByEpoch(uint256 epoch) external view returns (bytes32) {
return _baseWeightedMultisigStorage().signersHashByEpoch[epoch];
function signersHashByEpoch(uint256 signerEpoch) external view returns (bytes32) {
return _baseWeightedMultisigStorage().signersHashByEpoch[signerEpoch];
}

/**
Expand Down
4 changes: 2 additions & 2 deletions contracts/interfaces/IBaseWeightedMultisig.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ interface IBaseWeightedMultisig {

/**
* @dev Returns the hash for a given signers epoch
* @param epoch The epoch to get the hash for
* @param signerEpoch The epoch to get the hash for
* @return The hash for the given epoch
*/
function signersHashByEpoch(uint256 epoch) external view returns (bytes32);
function signersHashByEpoch(uint256 signerEpoch) external view returns (bytes32);

/**
* @dev Returns the epoch for a given hash
Expand Down

0 comments on commit 33bae50

Please sign in to comment.