Add an accidentally forgotten fix

This commit is contained in:
Zahary Karadjov 2019-09-08 11:44:53 -04:00 committed by zah
parent f19dc27c52
commit 806836714a
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ func initialize_beacon_state_from_eth1*(
for i, deposit in deposits:
let deposit_data_list = leaves[0..i]
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)