diff --git a/electrum/gui/qt/new_channel_dialog.py b/electrum/gui/qt/new_channel_dialog.py index 8e529d4e6..a81a4659c 100644 --- a/electrum/gui/qt/new_channel_dialog.py +++ b/electrum/gui/qt/new_channel_dialog.py @@ -112,7 +112,7 @@ class NewChannelDialog(WindowModalDialog): except (NotEnoughFunds, NoDynamicFeeEstimates) as e: self.max_button.setChecked(False) self.amount_e.setFrozen(False) - self.main_window.show_error(str(e)) + self.window.show_error(str(e)) return amount = tx.output_value() amount = min(amount, LN_MAX_FUNDING_SAT)