1
0

lnwatcher: naive code to sweep to_local from our ctx (will not wait for timelock yet)

This commit is contained in:
SomberNight
2018-07-09 18:55:52 +02:00
committed by ThomasV
parent 55a7e4cec1
commit 18627ecd1a
2 changed files with 68 additions and 23 deletions

View File

@@ -34,6 +34,8 @@ class ChannelsList(MyTreeWidget):
print('ID', bh2u(channel_id))
def close():
suc, msg = self.parent.wallet.lnworker.close_channel(channel_id)
if not suc:
print('channel close broadcast failed:', msg)
assert suc # TODO show error message in dialog
menu.addAction(_("Close channel"), close)
menu.exec_(self.viewport().mapToGlobal(position))