1
0

do not block GUI with open_channel

This commit is contained in:
ThomasV
2018-06-08 12:53:35 +02:00
parent 40fcf58fec
commit 6e71340e52
5 changed files with 8 additions and 9 deletions

View File

@@ -766,7 +766,8 @@ class Commands:
# lightning network commands
@command('wpn')
def open_channel(self, node_id, amount, channel_push=0, password=None):
self.wallet.lnworker.open_channel(node_id, satoshis(amount), satoshis(channel_push), password)
f = self.wallet.lnworker.open_channel(node_id, satoshis(amount), satoshis(channel_push), password)
return f.result()
@command('wn')
def reestablish_channel(self):