This commit is contained in:
Potuz 2022-11-01 17:20:20 -03:00 committed by Hsiao-Wei Wang
parent a14479a70f
commit 39e6ec5d14
No known key found for this signature in database
GPG Key ID: AE3D6B174F971DE4
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ def get_expected_withdrawals(state: BeaconState) -> Sequence[Withdrawal]:
withdrawal_index = state.next_withdrawal_index
index = ValidatorIndex((state.last_withdrawal_validator_index + 1) % len(state.validators))
ret: List[Withdrawal] = []
for probed in range(len(state.validators))):
for probed in range(len(state.validators)):
val = state.validators[index]
balance = state.balances[index]
if is_fully_withdrawable_validator(val, balance, epoch):