From 25ac0b54c17772416ad44a6cd4aaabb7877d5276 Mon Sep 17 00:00:00 2001 From: Petar Maksimovic Date: Sat, 10 Aug 2024 11:12:56 +0200 Subject: [PATCH] corrections --- contracts/libraries/DualGovernanceState.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()