tqt main_window: (trivial) fix error-handling for open_channel - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 7e18e2ea3199380d78e75dec0da4e85939ddf170
DIR parent 4ae2717ac7f581c0d30276b346373fdface92e42
HTML Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 25 Nov 2020 10:03:49 +0100
qt main_window: (trivial) fix error-handling for open_channel
fixes #6776
Diffstat:
M electrum/gui/qt/main_window.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py
t@@ -1769,7 +1769,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
try:
extract_nodeid(connect_str)
except ConnStringFormatError as e:
- self.main_window.show_error(str(e))
+ self.show_error(str(e))
return
# use ConfirmTxDialog
# we need to know the fee before we broadcast, because the txid is required