Fixed as per @djrtwo's comments

This commit is contained in:
vbuterin 2019-02-08 22:02:55 -06:00 committed by GitHub
parent 36d5120deb
commit 019fe8953e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -526,7 +526,7 @@ The following data structures are defined as [SimpleSerialize (SSZ)](https://git
# Ethereum 1.0 chain data # Ethereum 1.0 chain data
'latest_eth1_data': Eth1Data, 'latest_eth1_data': Eth1Data,
'eth1_data_votes': [Eth1DataVote], 'eth1_data_votes': [Eth1DataVote],
'deposit_count': 'uint64' 'deposit_index': 'uint64'
} }
``` ```
@ -1479,7 +1479,7 @@ def get_initial_beacon_state(initial_validator_deposits: List[Deposit],
# Ethereum 1.0 chain data # Ethereum 1.0 chain data
latest_eth1_data=latest_eth1_data, latest_eth1_data=latest_eth1_data,
eth1_data_votes=[], eth1_data_votes=[],
deposit_index=0 deposit_index=len(initial_validator_deposits)
) )
# Process initial deposits # Process initial deposits