Browse Source

qt main_window: (trivial) rm dead code, and fix copy-paste error

patch-4
SomberNight 3 years ago
parent
commit
f7573dbce6
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 8
      electrum/gui/qt/main_window.py

8
electrum/gui/qt/main_window.py

@ -1390,12 +1390,6 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
self.request_list.delete_item(key)
self.clear_receive_tab()
def delete_lightning_payreq(self, payreq_key):
self.wallet.lnworker.delete_invoice(payreq_key)
self.request_list.update()
self.invoice_list.update()
self.clear_receive_tab()
def sign_payment_request(self, addr):
alias = self.config.get('alias')
if alias and self.alias_info:
@ -1811,7 +1805,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
def run_swap_dialog(self, is_reverse=None, recv_amount_sat=None, channels=None):
if not self.network:
self.window.show_error(_("You are offline."))
self.show_error(_("You are offline."))
return
def get_pairs_thread():
self.network.run_from_another_thread(self.wallet.lnworker.swap_manager.get_pairs())

Loading…
Cancel
Save