electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit a70441f0f1f3ea325df3f64057e14fbb57f30b3b
parent 6d9ef2969030d9dac8111f36e1044621bcb15840
Author: ThomasV <thomasv@electrum.org>
Date:   Thu, 23 May 2019 14:26:08 +0200

minor fixes: remove_channel

Diffstat:
Melectrum/gui/qt/main_window.py | 2+-
Melectrum/lnworker.py | 6+++---
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py @@ -368,7 +368,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger): elif event == 'on_history': self.new_fx_history_signal.emit() elif event == 'channels': - self.channels_list.update_rows.emit(*args) + self.channels_list.update_rows.emit() elif event == 'channel': self.channels_list.update_single_row.emit(*args) self.update_status() diff --git a/electrum/lnworker.py b/electrum/lnworker.py @@ -887,9 +887,9 @@ class LNWallet(LNWorker): chan = self.channels[chan_id] assert chan.is_closed() self.channels.pop(chan_id) - self.save_channel(chan) - self.network.trigger_callback('channels') - self.network.trigger_callback('wallet_updated') + self.save_channels() + self.network.trigger_callback('channels', self.wallet) + self.network.trigger_callback('wallet_updated', self.wallet) async def reestablish_peers_and_channels(self): async def reestablish_peer_for_given_channel():