From 806836714a10bd88093409245e7dc3d0ee148438 Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Sun, 8 Sep 2019 11:44:53 -0400 Subject: [PATCH] Add an accidentally forgotten fix --- beacon_chain/spec/beaconstate.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_chain/spec/beaconstate.nim b/beacon_chain/spec/beaconstate.nim index 32abbedb3..335a61c22 100644 --- a/beacon_chain/spec/beaconstate.nim +++ b/beacon_chain/spec/beaconstate.nim @@ -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)