From 750790c78453a864bf8de718ab2f87536d154399 Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Wed, 30 Jan 2019 18:38:12 -0800 Subject: [PATCH] Remove the unnecessary double backticks on 'validator' in docstring. The usual convention is that we mark function parameters in docstrings with double backticks. There is no (longer a) parameter called 'validator' so we update the docstring to conform to the convention. --- 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 7baca73e6..aeaf6d782 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -1020,7 +1020,7 @@ def is_power_of_two(value: int) -> bool: ```python def get_effective_balance(state: State, index: ValidatorIndex) -> Gwei: """ - Return the effective balance (also known as "balance at stake") for a ``validator`` with the given ``index``. + Return the effective balance (also known as "balance at stake") for a validator with the given ``index``. """ return min(state.validator_balances[index], MAX_DEPOSIT_AMOUNT) ```