From d3f9bfe68d440b0c49161bbf81e121549bd9ee24 Mon Sep 17 00:00:00 2001 From: vbuterin Date: Tue, 5 Nov 2019 10:32:49 -0800 Subject: [PATCH] Update specs/core/1_new_shards.md Co-Authored-By: Hsiao-Wei Wang --- specs/core/1_new_shards.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/specs/core/1_new_shards.md b/specs/core/1_new_shards.md index c3e6ebc53..de436004e 100644 --- a/specs/core/1_new_shards.md +++ b/specs/core/1_new_shards.md @@ -275,7 +275,9 @@ def is_valid_indexed_attestation(state: BeaconState, indexed_attestation: Indexe if abit: all_pubkeys.append(state.validators[participant].pubkey) # Note: only 2N distinct message hashes - all_message_hashes.append(AttestationCustodyBitWrapper(hash_tree_root(indexed_attestation.data), i, cbit)) + all_message_hashes.append(hash_tree_root( + AttestationCustodyBitWrapper(hash_tree_root(indexed_attestation.data), i, cbit) + )) else: assert cbit == False