Initialize deposit index

This commit is contained in:
vbuterin 2019-02-08 19:38:09 -06:00 committed by GitHub
parent 057364a7d4
commit 36d5120deb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1479,6 +1479,7 @@ def get_initial_beacon_state(initial_validator_deposits: List[Deposit],
# Ethereum 1.0 chain data
latest_eth1_data=latest_eth1_data,
eth1_data_votes=[],
deposit_index=0
)
# Process initial deposits