lint
This commit is contained in:
parent
a14479a70f
commit
39e6ec5d14
|
@ -288,7 +288,7 @@ def get_expected_withdrawals(state: BeaconState) -> Sequence[Withdrawal]:
|
||||||
withdrawal_index = state.next_withdrawal_index
|
withdrawal_index = state.next_withdrawal_index
|
||||||
index = ValidatorIndex((state.last_withdrawal_validator_index + 1) % len(state.validators))
|
index = ValidatorIndex((state.last_withdrawal_validator_index + 1) % len(state.validators))
|
||||||
ret: List[Withdrawal] = []
|
ret: List[Withdrawal] = []
|
||||||
for probed in range(len(state.validators))):
|
for probed in range(len(state.validators)):
|
||||||
val = state.validators[index]
|
val = state.validators[index]
|
||||||
balance = state.balances[index]
|
balance = state.balances[index]
|
||||||
if is_fully_withdrawable_validator(val, balance, epoch):
|
if is_fully_withdrawable_validator(val, balance, epoch):
|
||||||
|
|
Loading…
Reference in New Issue