Merge pull request #3007 from jtraglia/rename-withdraw-section

Rename withdraw section to withdraw_balance
This commit is contained in:
Hsiao-Wei Wang 2022-09-22 14:35:06 +08:00 committed by GitHub
commit c0ef942980
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
- [`BeaconState`](#beaconstate)
- [Helpers](#helpers)
- [Beacon state mutators](#beacon-state-mutators)
- [`withdraw`](#withdraw)
- [`withdraw_balance`](#withdraw_balance)
- [Predicates](#predicates)
- [`has_eth1_withdrawal_credential`](#has_eth1_withdrawal_credential)
- [`is_fully_withdrawable_validator`](#is_fully_withdrawable_validator)
@ -266,7 +266,7 @@ class BeaconState(Container):
### Beacon state mutators
#### `withdraw`
#### `withdraw_balance`
```python
def withdraw_balance(state: BeaconState, validator_index: ValidatorIndex, amount: Gwei) -> None: