From f7afd679dadf6dc083c34543309ce7b9b71acfd6 Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Tue, 18 Dec 2018 12:37:25 -0600 Subject: [PATCH] fix comment --- specs/core/0_beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index e94268388..ffe584bf8 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -964,7 +964,7 @@ def get_attestation_participants(state: BeaconState, ```python def get_effective_balance(state: State, index: int) -> int: """ - Returns the effective balance (also known as "balance at stake") for a ``validator`` with the given ``validator_index``. + Returns the effective balance (also known as "balance at stake") for a ``validator`` with the given ``index``. """ return min(state.validator_balances[index], MAX_DEPOSIT * GWEI_PER_ETH) ```