From c8d1614e7eadc7cfe252783885d6e316515902b1 Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Fri, 4 Nov 2022 16:19:26 -0600 Subject: [PATCH] Apply suggestions from code review --- specs/capella/beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/capella/beacon-chain.md b/specs/capella/beacon-chain.md index 0e24fadda..c362539be 100644 --- a/specs/capella/beacon-chain.md +++ b/specs/capella/beacon-chain.md @@ -324,7 +324,7 @@ def process_withdrawals(state: BeaconState, payload: ExecutionPayload) -> None: assert withdrawal == expected_withdrawal decrease_balance(state, withdrawal.validator_index, withdrawal.amount) if len(expected_withdrawals) > 0: - # withdrawal holds the last withdrawal object in the payload. + # `withdrawal` holds the last withdrawal object in the payload. state.next_withdrawal_index = WithdrawalIndex(withdrawal.index + 1) state.latest_withdrawal_validator_index = withdrawal.validator_index ```