Skip to content

Commit 84a003d

Browse files
authored
Merge pull request #267 from bane-labs/fix-governance-vote-check
systemcontract: restrict vote check threshold
2 parents 8fd9c7b + ed20f50 commit 84a003d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/solidity/base/GovernanceVote.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ abstract contract GovernanceVote {
7171
votedCount++;
7272
}
7373
}
74-
return votedCount >= (voters.length + 1) / 2;
74+
return votedCount > voters.length / 2;
7575
}
7676

7777
function _contains(

0 commit comments

Comments
 (0)