mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-01 22:45:09 -05:00
Fix finality check in deposit processing
This commit is contained in:
@@ -249,7 +249,7 @@ def process_pending_deposits(state: BeaconState) -> None:
|
||||
break
|
||||
|
||||
# Apply only finalized deposits
|
||||
if pending_deposit.epoch > finalized_epoch:
|
||||
if pending_deposit.epoch >= finalized_epoch:
|
||||
break
|
||||
|
||||
# Skip already applied deposits
|
||||
|
||||
Reference in New Issue
Block a user