mirror of
https://github.com/pezkuwichain/consensus.git
synced 2026-11-29 08:10:03 +00:00
Fixed bug in examp;e
This commit is contained in:
1 parent
1fc886ddb9
commit
5c9c273d27
1 file changed
+1
-1
@@ -554,7 +554,7 @@ def riparty(vals=200,noms=2000, votesize=10,seed=1):
|
||||
#Half the validators are in a party which 1/4 of the nominators vote for.
|
||||
# Approval voting does worse now
|
||||
# and this is probably more realistic than the pure random instance.
|
||||
votelist=ripartylist(vals,noms,seed)
|
||||
votelist=ripartylist(vals,noms,votesize,seed)
|
||||
doall(votelist, vals // 4, False, False)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user