Skip to content

Commit

Permalink
fic: rename function for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
clauBv23 committed Aug 29, 2024
1 parent fb95ba5 commit f7e0f97
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/contracts/src/MajorityVotingBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ abstract contract MajorityVotingBase is
);

/// @notice Emitted when the min approval value is updated.
/// @param minApproval The minimum amount of yes votes needed for a proposal succeed.
event VotingMinApprovalUpdated(uint32 minApproval);
/// @param minApprovals The minimum amount of yes votes needed for a proposal succeed.
event VotingMinApprovalUpdated(uint32 minApprovals);

/// @notice Initializes the component to be used by inheriting contracts.
/// @dev This method is required to support [ERC-1822](https://eips.ethereum.org/EIPS/eip-1822).
Expand All @@ -285,11 +285,11 @@ abstract contract MajorityVotingBase is
function __MajorityVotingBase_init(
IDAO _dao,
VotingSettings calldata _votingSettings,
uint32 _minApproval
uint32 _minApprovals
) internal onlyInitializing {
__PluginUUPSUpgradeable_init(_dao);
_updateVotingSettings(_votingSettings);
_updateMinApproval(_minApproval);
_updateMinApproval(_minApprovals);
}

/// @notice Checks if this or the parent contract supports an interface by its ID.
Expand Down

0 comments on commit f7e0f97

Please sign in to comment.