mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-10 09:36:39 +00:00
Fix lint errors
This commit is contained in:
parent
8ff2f4c9e2
commit
333df69e65
@ -271,6 +271,7 @@ def get_random_execution_requests(spec, state, rng):
|
||||
|
||||
return execution_requests
|
||||
|
||||
|
||||
def get_random_deposits_requests(spec, state, rng, num_deposits=None):
|
||||
if num_deposits is None:
|
||||
num_deposits = rng.randrange(0, spec.MAX_DEPOSIT_REQUESTS_PER_PAYLOAD)
|
||||
@ -367,4 +368,5 @@ def get_random_consolidations_requests(spec, state, rng, num_consolidations=None
|
||||
|
||||
consolidations_requests.append(consolidation_request)
|
||||
|
||||
return consolidations_requests
|
||||
return consolidations_requests
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user