From 72103e9deb0aeec8ead093913265b920c3452cbe Mon Sep 17 00:00:00 2001 From: vbuterin Date: Wed, 14 Aug 2019 23:44:26 +0200 Subject: [PATCH] Update specs/light_client/merkle_proofs.md Co-Authored-By: Diederik Loerakker --- specs/light_client/merkle_proofs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/light_client/merkle_proofs.md b/specs/light_client/merkle_proofs.md index 698dce4e6..21115dd27 100644 --- a/specs/light_client/merkle_proofs.md +++ b/specs/light_client/merkle_proofs.md @@ -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(helper_indices, proof)} } - keys = sorted(objects.keys())[::-1] + keys = sorted(objects.keys(), reverse=True) pos = 0 while pos < len(keys): k = keys[pos]