mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 09:16:00 +00:00
Update per_block_processing.rs
This commit is contained in:
@@ -626,6 +626,7 @@ pub fn process_withdrawals<E: EthSpec, Payload: AbstractExecPayload<E>>(
|
|||||||
|
|
||||||
// Update pending partial withdrawals [New in Electra:EIP7251]
|
// Update pending partial withdrawals [New in Electra:EIP7251]
|
||||||
if let Some(partial_withdrawals_count) = partial_withdrawals_count {
|
if let Some(partial_withdrawals_count) = partial_withdrawals_count {
|
||||||
|
// TODO(electra): Use efficient pop_front after milhouse release https://github.com/sigp/milhouse/pull/38
|
||||||
let new_partial_withdrawals = state
|
let new_partial_withdrawals = state
|
||||||
.pending_partial_withdrawals()?
|
.pending_partial_withdrawals()?
|
||||||
.iter_from(partial_withdrawals_count)?
|
.iter_from(partial_withdrawals_count)?
|
||||||
|
|||||||
Reference in New Issue
Block a user