1
0

return tx in on_closed callback

This commit is contained in:
Oren
2025-05-24 02:30:00 +03:00
parent 7eb29f9a6b
commit 78c0425931
3 changed files with 6 additions and 4 deletions

View File

@@ -145,7 +145,7 @@ class QtCosignerWallet(EventListener, CosignerWallet):
self.add_transaction_to_wallet(tx, label=label, on_failure=self.on_add_fail)
self.window.update_tabs()
def on_tx_dialog_closed(self, event_id):
def on_tx_dialog_closed(self, event_id, _tx: Optional['Transaction']):
self.mark_pending_event_rcvd(event_id)
def on_add_fail(self, msg: str):