Add typehint for return of _setup_async_tx_hooks method for Operator.

pull/3476/head
derekpierre 2024-04-12 08:43:08 -04:00
parent fd4b209f9e
commit 5514f57d43
No known key found for this signature in database
1 changed files with 3 additions and 1 deletions

View File

@ -351,7 +351,9 @@ class Operator(BaseActor):
return result
def _setup_async_hooks(self, phase_id: PhaseId, *args):
def _setup_async_hooks(
self, phase_id: PhaseId, *args
) -> BlockchainInterface.AsyncTxHooks:
tx_type = "POST_TRANSCRIPT" if phase_id.phase == PHASE1 else "POST_AGGREGATE"
def resubmit_tx():