mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-09 13:56:23 +00:00
Add an accidentally forgotten fix
This commit is contained in:
parent
f19dc27c52
commit
806836714a
@ -243,7 +243,7 @@ func initialize_beacon_state_from_eth1*(
|
|||||||
for i, deposit in deposits:
|
for i, deposit in deposits:
|
||||||
let deposit_data_list = leaves[0..i]
|
let deposit_data_list = leaves[0..i]
|
||||||
state.eth1_data.deposit_root = hash_tree_root(
|
state.eth1_data.deposit_root = hash_tree_root(
|
||||||
sszList(deposit_data_list, (2'i64^DEPOSIT_CONTRACT_TREE_DEPTH) + 1))
|
sszList(deposit_data_list, 2'i64^DEPOSIT_CONTRACT_TREE_DEPTH))
|
||||||
|
|
||||||
discard process_deposit(state, deposit, flags)
|
discard process_deposit(state, deposit, flags)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user