Update specs/light_client/merkle_proofs.md
Co-Authored-By: Diederik Loerakker <proto@protolambda.com>
This commit is contained in:
parent
c7af2496ef
commit
72103e9deb
|
@ -256,7 +256,7 @@ def verify_merkle_multiproof(leaves: Sequence[Hash], proof: Sequence[Hash], indi
|
||||||
**{index:node for index, node in zip(indices, leaves)},
|
**{index:node for index, node in zip(indices, leaves)},
|
||||||
**{index:node for index, node in zip(helper_indices, proof)}
|
**{index:node for index, node in zip(helper_indices, proof)}
|
||||||
}
|
}
|
||||||
keys = sorted(objects.keys())[::-1]
|
keys = sorted(objects.keys(), reverse=True)
|
||||||
pos = 0
|
pos = 0
|
||||||
while pos < len(keys):
|
while pos < len(keys):
|
||||||
k = keys[pos]
|
k = keys[pos]
|
||||||
|
|
Loading…
Reference in New Issue