From e24f837fbfc9f3e0fe027fefc8c481f8eb98987d Mon Sep 17 00:00:00 2001 From: SomberNight Date: Wed, 19 Apr 2023 16:25:39 +0000 Subject: [PATCH] qt send tab: rm incorrect bare raise follow-up bc3946d2f4e00abdfc8bcd2980ea4a467a2e9756 not sure what the raise was trying to do; note that relevant exception handling is done at: https://github.com/spesmilo/electrum/blob/bba8a272e78ae8961dffd37060801bf28b934dd9/electrum/gui/qt/main_window.py#L1213-L1217 although note the TODO in main_window.on_error: would be nice to propagate some of the exceptions to the crash reporter closes https://github.com/spesmilo/electrum/issues/8312 --- electrum/gui/qt/send_tab.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/electrum/gui/qt/send_tab.py b/electrum/gui/qt/send_tab.py index eafa8f61b..1429c8494 100644 --- a/electrum/gui/qt/send_tab.py +++ b/electrum/gui/qt/send_tab.py @@ -272,8 +272,6 @@ class SendTab(QWidget, MessageBoxMixin, Logger): def sign_done(success): if success: self.window.broadcast_or_show(tx) - else: - raise self.window.sign_tx( tx, callback=sign_done,