use [[]] * num instead of just [] * num
This commit is contained in:
parent
520ad97c3e
commit
40b397f53f
|
@ -111,7 +111,7 @@ def upgrade_to_phase1(pre: phase0.BeaconState) -> BeaconState:
|
||||||
current_light_committee=CompactCommittee(), # computed after state creation
|
current_light_committee=CompactCommittee(), # computed after state creation
|
||||||
next_light_committee=CompactCommittee(),
|
next_light_committee=CompactCommittee(),
|
||||||
# Custody game
|
# Custody game
|
||||||
exposed_derived_secrets=[] * EARLY_DERIVED_SECRET_PENALTY_MAX_FUTURE_EPOCHS,
|
exposed_derived_secrets=[[]] * EARLY_DERIVED_SECRET_PENALTY_MAX_FUTURE_EPOCHS,
|
||||||
# exposed_derived_secrets will fully default to zeroes
|
# exposed_derived_secrets will fully default to zeroes
|
||||||
)
|
)
|
||||||
next_epoch = Epoch(epoch + 1)
|
next_epoch = Epoch(epoch + 1)
|
||||||
|
|
Loading…
Reference in New Issue