Update specs/core/0_beacon-chain.md

Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
Danny Ryan 2019-03-01 00:12:45 -06:00 committed by GitHub
parent 80ac62606c
commit 087576a7bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1257,7 +1257,7 @@ def process_deposit(state: BeaconState, deposit: Deposit) -> None:
# 8 bytes for deposit_data.timestamp + # 8 bytes for deposit_data.timestamp +
# 176 bytes for deposit_data.deposit_input # 176 bytes for deposit_data.deposit_input
# It should match the deposit_data in the eth1.0 deposit contract # It should match the deposit_data in the eth1.0 deposit contract
serialized_deposit_data = ssz_serialize(deposit.deposit_data) serialized_deposit_data = serialize(deposit.deposit_data)
# Deposits must be processed in order # Deposits must be processed in order
assert deposit.index == state.deposit_index assert deposit.index == state.deposit_index