default value of `deposit_index`
This commit is contained in:
parent
7a16db144c
commit
b36ffd5c41
|
@ -1730,7 +1730,7 @@ def process_attestation(state: BeaconState, attestation: Attestation) -> None:
|
|||
##### Deposits
|
||||
|
||||
```python
|
||||
def process_deposit(state: BeaconState, deposit: Deposit, deposit_index: Optional[uint64]) -> None:
|
||||
def process_deposit(state: BeaconState, deposit: Deposit, deposit_index: Optional[uint64]=None) -> None:
|
||||
"""
|
||||
Process an Eth1 deposit, registering a validator or increasing its balance.
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue