Submitted by T1MOH, also found by josephdara, yjrwkk, LokiThe5th, Iurii3, squeaky_cactus, skyge, and zambody
For some reason it is calculated as sum of againstVotes and abstainVotes instead of totalVotes on proposal. As the result, quorum will be reached only if >=1/3 of all votes are abstain or against, which doesnt make sense.
Number of votes with support = 1 and support = 2 is summed up:
However support = 1 means against votes, support = 2 means abstain votes:
https://github.com/code-423n4/2023-06-lybra/blob/26915a826c90eeb829863ec3851c3c785800594b/contracts/lybra/governance/LybraGovernance.sol#L120-L122
Manual review
Use totalVotes:
Governance
LybraFinance confirmed
