Skip to content

Commit

Permalink
Merge pull request #49 from lidofinance/fix/model-dual-governance-fix
Browse files Browse the repository at this point in the history
fix: dual governance model proposals getter fix
  • Loading branch information
rkolpakov authored Jun 13, 2024
2 parents 2a382ff + e322509 commit 2f7047e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/model/DualGovernance.sol
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ contract DualGovernance {
"Proposals can only be scheduled in Normal or Veto Cooldown states."
);
if (currentState == State.VetoCooldown) {
uint256 submissionTime = emergencyProtectedTimelock.proposals(proposalId).submissionTime;
(,,,uint256 submissionTime,) = emergencyProtectedTimelock.proposals(proposalId);
require(
submissionTime < lastVetoSignallingTime,
"Proposal submitted after the last time Veto Signalling state was entered."
Expand Down

0 comments on commit 2f7047e

Please sign in to comment.