mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 07:05:04 -05:00
Update specs/core/1_new_shards.md
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user