mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-12 19:54:34 +00:00
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…
x
Reference in New Issue
Block a user