Update specs/core/0_beacon-chain.md
Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
parent
80ac62606c
commit
087576a7bb
|
@ -1257,7 +1257,7 @@ def process_deposit(state: BeaconState, deposit: Deposit) -> None:
|
|||
# 8 bytes for deposit_data.timestamp +
|
||||
# 176 bytes for deposit_data.deposit_input
|
||||
# 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
|
||||
assert deposit.index == state.deposit_index
|
||||
|
||||
|
|
Loading…
Reference in New Issue