mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-01-06 23:23:09 +00:00
allow sender_lottery.probability=0
This commit is contained in:
parent
dc1d3934d3
commit
fa407f2494
@ -75,7 +75,7 @@ class LotteryConfig:
|
||||
|
||||
def validate(self):
|
||||
assert self.interval_sec > 0
|
||||
assert self.probability > 0
|
||||
assert self.probability >= 0
|
||||
assert self.seed is not None
|
||||
|
||||
|
||||
|
||||
@ -7,7 +7,7 @@ simulation:
|
||||
logic:
|
||||
sender_lottery:
|
||||
interval_sec: 1
|
||||
probability: 0.01
|
||||
probability: 0.00
|
||||
seed: 10
|
||||
|
||||
mixnet:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user