mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 13:55:01 -05:00
Update specs/light_client/merkle_proofs.md
Co-Authored-By: hwwhww <hwwang156@gmail.com>
This commit is contained in:
@@ -144,7 +144,7 @@ Generating a proof is simply a matter of taking the node of the SSZ hash tree wi
|
||||
Here is the verification function:
|
||||
|
||||
```python
|
||||
def verify_multi_proof(root: Bytes32, indices: List[int], leaves: List[Bytes32], proof: List[bytes]) -> bool:
|
||||
def verify_multi_proof(root: Bytes32, indices: List[int], leaves: List[Bytes32], proof: List[Bytes32]) -> bool:
|
||||
tree = {}
|
||||
for index, leaf in zip(indices, leaves):
|
||||
tree[index] = leaf
|
||||
|
||||
Reference in New Issue
Block a user