Update specs/light_client/merkle_proofs.md

Co-Authored-By: Diederik Loerakker <proto@protolambda.com>
This commit is contained in:
vbuterin 2019-08-14 23:44:26 +02:00 committed by GitHub
parent c7af2496ef
commit 72103e9deb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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]