mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-26 01:05:15 +00:00
Merge pull request #3007 from jtraglia/rename-withdraw-section
Rename withdraw section to withdraw_balance
This commit is contained in:
commit
c0ef942980
@ -29,7 +29,7 @@
|
|||||||
- [`BeaconState`](#beaconstate)
|
- [`BeaconState`](#beaconstate)
|
||||||
- [Helpers](#helpers)
|
- [Helpers](#helpers)
|
||||||
- [Beacon state mutators](#beacon-state-mutators)
|
- [Beacon state mutators](#beacon-state-mutators)
|
||||||
- [`withdraw`](#withdraw)
|
- [`withdraw_balance`](#withdraw_balance)
|
||||||
- [Predicates](#predicates)
|
- [Predicates](#predicates)
|
||||||
- [`has_eth1_withdrawal_credential`](#has_eth1_withdrawal_credential)
|
- [`has_eth1_withdrawal_credential`](#has_eth1_withdrawal_credential)
|
||||||
- [`is_fully_withdrawable_validator`](#is_fully_withdrawable_validator)
|
- [`is_fully_withdrawable_validator`](#is_fully_withdrawable_validator)
|
||||||
@ -266,7 +266,7 @@ class BeaconState(Container):
|
|||||||
|
|
||||||
### Beacon state mutators
|
### Beacon state mutators
|
||||||
|
|
||||||
#### `withdraw`
|
#### `withdraw_balance`
|
||||||
|
|
||||||
```python
|
```python
|
||||||
def withdraw_balance(state: BeaconState, validator_index: ValidatorIndex, amount: Gwei) -> None:
|
def withdraw_balance(state: BeaconState, validator_index: ValidatorIndex, amount: Gwei) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user