Skip to content

Commit

Permalink
Use Durations.ZERO constant inside committees inside Durations.from(0)
Browse files Browse the repository at this point in the history
  • Loading branch information
Psirex committed Sep 12, 2024
1 parent 92039e1 commit 31102bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contracts/committees/EmergencyActivationCommittee.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ contract EmergencyActivationCommittee is HashConsensus {
address[] memory committeeMembers,
uint256 executionQuorum,
address emergencyProtectedTimelock
) HashConsensus(owner, Durations.from(0)) {
) HashConsensus(owner, Durations.ZERO) {
EMERGENCY_PROTECTED_TIMELOCK = emergencyProtectedTimelock;

_addMembers(committeeMembers, executionQuorum);
Expand Down
2 changes: 1 addition & 1 deletion contracts/committees/EmergencyExecutionCommittee.sol
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ contract EmergencyExecutionCommittee is HashConsensus, ProposalsList {
address[] memory committeeMembers,
uint256 executionQuorum,
address emergencyProtectedTimelock
) HashConsensus(owner, Durations.from(0)) {
) HashConsensus(owner, Durations.ZERO) {
EMERGENCY_PROTECTED_TIMELOCK = emergencyProtectedTimelock;

_addMembers(committeeMembers, executionQuorum);
Expand Down
2 changes: 1 addition & 1 deletion contracts/committees/TiebreakerSubCommittee.sol
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ contract TiebreakerSubCommittee is HashConsensus, ProposalsList {
address[] memory committeeMembers,
uint256 executionQuorum,
address tiebreakerCoreCommittee
) HashConsensus(owner, Durations.from(0)) {
) HashConsensus(owner, Durations.ZERO) {
TIEBREAKER_CORE_COMMITTEE = tiebreakerCoreCommittee;

_addMembers(committeeMembers, executionQuorum);
Expand Down

0 comments on commit 31102bc

Please sign in to comment.