This commit is contained in:
Potuz 2022-10-31 15:55:53 -03:00 committed by Hsiao-Wei Wang
parent 7dbd50e958
commit 49a2519da2
No known key found for this signature in database
GPG Key ID: AE3D6B174F971DE4
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ def get_expected_withdrawals(state: BeaconState) -> Sequence[Withdrawal]:
)
ret.append(withdrawal)
withdrawal_index = WithdrawalIndex(withdrawal_index + 1)
else if is_partially_withdrawable(val, balance):
elif is_partially_withdrawable(val, balance):
withdrawal = Withdrawal(
index=withdrawal_index,
validator_index=index,