Merge pull request #535 from ralexstokes/fix-docstring
Remove the unnecessary double backticks on 'validator' in docstring.
This commit is contained in:
commit
684931bf16
|
@ -1020,7 +1020,7 @@ def is_power_of_two(value: int) -> bool:
|
||||||
```python
|
```python
|
||||||
def get_effective_balance(state: State, index: ValidatorIndex) -> Gwei:
|
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)
|
return min(state.validator_balances[index], MAX_DEPOSIT_AMOUNT)
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue