mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-09 17:24:29 +00:00
merging upstream
This commit is contained in:
commit
8099f39008
@ -956,7 +956,7 @@ def process_pending_deposits(state: BeaconState) -> None:
|
||||
break
|
||||
|
||||
# Check if number of processed deposits has not reached the limit, otherwise, stop processing.
|
||||
if next_deposit_index > MAX_PENDING_DEPOSITS_PER_EPOCH_PROCESSING-1:
|
||||
if next_deposit_index >= MAX_PENDING_DEPOSITS_PER_EPOCH_PROCESSING:
|
||||
break
|
||||
|
||||
# Check if deposit fits in the churn, otherwise, do no more deposit processing in this epoch.
|
||||
|
Loading…
x
Reference in New Issue
Block a user