Skip to content

Commit

Permalink
Update per_block_processing.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
dapplion authored and realbigsean committed Jun 25, 2024
1 parent 5bbaad3 commit 32294cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions consensus/state_processing/src/per_block_processing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,7 @@ pub fn process_withdrawals<E: EthSpec, Payload: AbstractExecPayload<E>>(

// Update pending partial withdrawals [New in Electra:EIP7251]
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
.pending_partial_withdrawals()?
.iter_from(partial_withdrawals_count)?
Expand Down

0 comments on commit 32294cf

Please sign in to comment.