Skip to content

Commit f17b510

Browse files
authored
fix: Add comments about voting power cap argument | NPG-000 (#708)
# Description Simple comment to indicate the integer limit for `max_voting_power_pct` (aka. `voting_power_cap`).
1 parent 95b7ca5 commit f17b510

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

services/voting-node/voting_node/helpers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ async def add_default_event(
5050
end_time = tallying_end + slotdelta(slots=5) # finish event 20 secs after tallying_end
5151

5252
voting_power_threshold = 450
53-
max_voting_power_pct = 1
53+
# Integer up to 100
54+
max_voting_power_pct = 100
5455

5556
insight_sharing_start = block0_date + timedelta(minutes=4)
5657
proposal_submission_start = block0_date + timedelta(minutes=5)

0 commit comments

Comments
 (0)