Loose condition of effective genesis deposit
This commit is contained in:
parent
8828dad786
commit
47b29c8456
|
@ -1157,7 +1157,7 @@ def is_genesis_trigger(deposits: List[Deposit], timestamp: uint64, deposit_root:
|
||||||
# Count active validators at genesis
|
# Count active validators at genesis
|
||||||
active_validator_count = 0
|
active_validator_count = 0
|
||||||
for validator in state.validators:
|
for validator in state.validators:
|
||||||
if validator.effective_balance == MAX_EFFECTIVE_BALANCE:
|
if validator.effective_balance >= MAX_EFFECTIVE_BALANCE:
|
||||||
active_validator_count += 1
|
active_validator_count += 1
|
||||||
|
|
||||||
# Check effective balance to trigger genesis
|
# Check effective balance to trigger genesis
|
||||||
|
|
Loading…
Reference in New Issue