Update specs/core/1_new_shards.md
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
This commit is contained in:
parent
213032e51f
commit
d3f9bfe68d
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue