Skip to content

Commit ed20f50

Browse files
committed
systemcontract: restrict vote check threshold
1 parent 8fd9c7b commit ed20f50

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)