Remove blank lines
This commit is contained in:
parent
11cfd96487
commit
2dd9e82306
|
@ -1100,7 +1100,6 @@ def run_consolidation_processing(spec, state, consolidation, success=True):
|
||||||
- post-state ('post').
|
- post-state ('post').
|
||||||
If ``success == False``, ``process_consolidation_request`` would return without any state change.
|
If ``success == False``, ``process_consolidation_request`` would return without any state change.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if success:
|
if success:
|
||||||
validator_pubkeys = [v.pubkey for v in state.validators]
|
validator_pubkeys = [v.pubkey for v in state.validators]
|
||||||
source_index = spec.ValidatorIndex(validator_pubkeys.index(consolidation.source_pubkey))
|
source_index = spec.ValidatorIndex(validator_pubkeys.index(consolidation.source_pubkey))
|
||||||
|
@ -1170,7 +1169,6 @@ def run_switch_to_compounding_processing(spec, state, consolidation, success=Tru
|
||||||
- post-state ('post').
|
- post-state ('post').
|
||||||
If ``success == False``, ``process_consolidation_request`` would return without any state change.
|
If ``success == False``, ``process_consolidation_request`` would return without any state change.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if success:
|
if success:
|
||||||
validator_pubkeys = [v.pubkey for v in state.validators]
|
validator_pubkeys = [v.pubkey for v in state.validators]
|
||||||
source_index = spec.ValidatorIndex(validator_pubkeys.index(consolidation.source_pubkey))
|
source_index = spec.ValidatorIndex(validator_pubkeys.index(consolidation.source_pubkey))
|
||||||
|
|
Loading…
Reference in New Issue