Skip to content

Commit

Permalink
ci: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
clauBv23 committed May 6, 2024
1 parent 9a33035 commit 40f7a1c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/contracts/src/MultisigSetup.sol
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ contract MultisigSetup is PluginUpgradeableSetup {
}

/// @inheritdoc IPluginSetup
/// @dev Revoke the upgrade plugin permission from the DAO for all builds previous to the current one (3).
/// @dev Revoke the upgrade plugin permission to the DAO for all builds prior the current one (3).
function prepareUpdate(
address _dao,
uint16 _fromBuild,
Expand All @@ -83,8 +83,6 @@ contract MultisigSetup is PluginUpgradeableSetup {
returns (bytes memory initData, PreparedSetupData memory preparedSetupData)
{
(initData);

// all builds previous current one (3) have this permission granted and need to be revoked
if (_fromBuild < 3) {
PermissionLib.MultiTargetPermission[]
memory permissions = new PermissionLib.MultiTargetPermission[](1);
Expand Down

0 comments on commit 40f7a1c

Please sign in to comment.