mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-03-02 19:20:34 +00:00
fix typo
This commit is contained in:
parent
72c4f04261
commit
08732e69c6
@ -811,7 +811,7 @@ def process_execution_layer_withdraw_request(
|
|||||||
amount = execution_layer_withdraw_request.amount
|
amount = execution_layer_withdraw_request.amount
|
||||||
is_full_exit_request = amount == 0
|
is_full_exit_request = amount == 0
|
||||||
# If partial withdrawal queue is full, only full exits are processed
|
# If partial withdrawal queue is full, only full exits are processed
|
||||||
if not (is_full_exit_request or len(state.pending_consolidations) < PENDING_PARTIAL_WITHDRAWALS_LIMIT):
|
if len(state.pending_partial_withdrawals) >= PENDING_PARTIAL_WITHDRAWALS_LIMIT and not is_full_exit_request:
|
||||||
return
|
return
|
||||||
|
|
||||||
validator_pubkeys = [v.pubkey for v in state.validators]
|
validator_pubkeys = [v.pubkey for v in state.validators]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user