Skip to content

Commit

Permalink
refactor: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
amusingaxl committed Nov 29, 2024
1 parent 00951d4 commit ceffca9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/DssGroupedEmergencySpell.sol
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,14 @@ abstract contract DssGroupedEmergencySpell is DssEmergencySpell, DssGroupedEmerg

/// @notice Returns whether the spell is done for all ilks or not.
/// @return res Whether the spells is done or not.
function done() external view returns (bool res) {
for (uint256 i = 0; i < ilkList.length; i++) {
if (!_done(ilkList[i])) {
return false;
function done() external view returns (bool res) {
for (uint256 i = 0; i < ilkList.length; i++) {
if (!_done(ilkList[i])) {
return false;
}
}
return true;
}
return true;
}

/// @notice Returns whether the spell is done or not for the specified ilk.
function _done(bytes32 _ilk) internal view virtual returns (bool);
Expand Down

0 comments on commit ceffca9

Please sign in to comment.