mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-13 04:04:19 +00:00
update fn name for test id
This commit is contained in:
parent
fde71cbe74
commit
9e6a51ef70
@ -70,9 +70,9 @@ def _last_slot_in_epoch(spec):
|
|||||||
|
|
||||||
|
|
||||||
def _random_slot_in_epoch(rng):
|
def _random_slot_in_epoch(rng):
|
||||||
def f(spec):
|
def _a_slot_in_epoch(spec):
|
||||||
return rng.randrange(1, spec.SLOTS_PER_EPOCH - 2)
|
return rng.randrange(1, spec.SLOTS_PER_EPOCH - 2)
|
||||||
return f
|
return _a_slot_in_epoch
|
||||||
|
|
||||||
|
|
||||||
def _penultimate_slot_in_epoch(spec):
|
def _penultimate_slot_in_epoch(spec):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user