mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-12 11:44:41 +00:00
remove unnecessary var
This commit is contained in:
parent
9e8a9a26fd
commit
53b0674533
@ -52,7 +52,7 @@ def next_epoch_with_attestations(state,
|
||||
fill_prev_epoch):
|
||||
post_state = deepcopy(state)
|
||||
blocks = []
|
||||
for slot in range(spec.SLOTS_PER_EPOCH):
|
||||
for _ in range(spec.SLOTS_PER_EPOCH):
|
||||
block = build_empty_block_for_next_slot(post_state)
|
||||
if fill_cur_epoch:
|
||||
slot_to_attest = post_state.slot - spec.MIN_ATTESTATION_INCLUSION_DELAY + 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user