Update specs/light_client/merkle_proofs.md

Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>
This commit is contained in:
vbuterin 2019-08-01 08:08:12 -04:00 committed by GitHub
parent ed3749264b
commit 92fc0f2b81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ def fill(objects: Dict[int, Bytes32]) -> Dict[int, Bytes32]:
while pos < len(keys):
k = keys[pos]
if k in objects and k ^ 1 in objects and k // 2 not in objects:
objects[k // 2] = hash(objects[k & - 2] + objects[k | 1])
objects[k // 2] = hash(objects[k & -2] + objects[k | 1])
keys.append(k // 2)
pos += 1
# Completeness and consistency check