From c8bd90aba3c86222b80ca1f4ee60ed0d5d2668e5 Mon Sep 17 00:00:00 2001 From: Justin Date: Fri, 11 Jan 2019 11:53:12 +0000 Subject: [PATCH] Update 0_beacon-chain.md --- specs/core/0_beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index b7fcd284d..baf5ca198 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -695,8 +695,8 @@ def get_deposit_root() -> bytes32: @public @constant def get_merkle_branch(index: uint256) -> bytes32[32]: # size is DEPOSIT_CONTRACT_TREE_DEPTH (symbolic const not supported) - index = index + TWO_TO_POWER_OF_TREE_DEPTH branch: bytes32[32] # size is DEPOSIT_CONTRACT_TREE_DEPTH + index = index + TWO_TO_POWER_OF_TREE_DEPTH for i in range(DEPOSIT_CONTRACT_TREE_DEPTH): branch[i] = self.deposit_tree[bitwise_xor(index, 1)] index /= 2