Update specs/core/1_new_shards.md
Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>
This commit is contained in:
parent
e66b4e06ef
commit
b6680d28bb
|
@ -437,7 +437,7 @@ def process_attestations(state: BeaconState, block: BeaconBlock, attestations: S
|
||||||
winners.add((shard, shard_transition_root))
|
winners.add((shard, shard_transition_root))
|
||||||
success = True
|
success = True
|
||||||
if not success:
|
if not success:
|
||||||
assert block.shard_transition == ShardTransition()
|
assert block.shard_transitions[shard] == ShardTransition()
|
||||||
for attestation in attestations:
|
for attestation in attestations:
|
||||||
pending_attestation = PendingAttestation(
|
pending_attestation = PendingAttestation(
|
||||||
aggregation_bits=attestation.aggregation_bits,
|
aggregation_bits=attestation.aggregation_bits,
|
||||||
|
|
Loading…
Reference in New Issue