We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8deb976 commit e50455dCopy full SHA for e50455d
lib/lambda_ethereum_consensus/state_transition/operations.ex
@@ -392,7 +392,7 @@ defmodule LambdaEthereumConsensus.StateTransition.Operations do
392
Stream.zip([state.validators, state.balances])
393
|> Stream.with_index()
394
|> Stream.cycle()
395
- |> Stream.drop(withdrawal_index)
+ |> Stream.drop(state.next_withdrawal_validator_index)
396
|> Stream.take(bound)
397
|> Stream.map(fn {{validator, balance}, index} ->
398
partially_withdrawn_balance =
0 commit comments