diff --git a/contracts/libraries/DualGovernanceState.sol b/contracts/libraries/DualGovernanceState.sol index af764d2a..96085b57 100644 --- a/contracts/libraries/DualGovernanceState.sol +++ b/contracts/libraries/DualGovernanceState.sol @@ -393,7 +393,7 @@ library DualGovernanceState { } if (rageQuitSupport < secondSealRageQuitSupport) { - duration_ = dynamicTimelockMinDuration + return dynamicTimelockMinDuration + Durations.from( (rageQuitSupport - firstSealRageQuitSupport) * (dynamicTimelockMaxDuration - dynamicTimelockMinDuration).toSeconds()