mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-03-25 05:03:34 +00:00
making return type optional
This commit is contained in:
parent
1ce055a276
commit
61b92a5067
@ -321,7 +321,7 @@ class Carnot2(Carnot):
|
||||
|
||||
# Define your types here (Id, View, StandardQc, AggregateQc, etc.)
|
||||
|
||||
def concatenate_aggregate_qcs(qc_set: Set[Union[StandardQc, AggregateQc]]) -> AggregateQc:
|
||||
def concatenate_aggregate_qcs(qc_set: Set[Union[StandardQc, AggregateQc]]) -> Optional[AggregateQc]:
|
||||
if qc_set is None:
|
||||
return None
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user