Skip to content

Commit

Permalink
refactor(ddm-disable): change done() expression for better readability
Browse files Browse the repository at this point in the history
  • Loading branch information
amusingaxl committed May 23, 2024
1 parent 5b57421 commit 1a375b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ddm-disable/SingleDdmDisableSpell.sol
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ contract SingleDdmDisableSpell is DssEmergencySpell {
* @dev Checks if the plan instance has stopped = 3.
*/
function done() external view returns (bool) {
return !DdmPlanLike(ddmHub.plan(ilk)).active();
return DdmPlanLike(ddmHub.plan(ilk)).active() == false;
}
}

Expand Down

0 comments on commit 1a375b5

Please sign in to comment.