1
0

qt main_window: (trivial) fix error-handling for open_channel

fixes #6776
This commit is contained in:
SomberNight
2020-11-25 10:03:49 +01:00
parent 4ae2717ac7
commit 7e18e2ea31

View File

@@ -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