Browse Source

follow-up prev commit

regtest_lnd
ThomasV 6 years ago
committed by SomberNight
parent
commit
90f722c100
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/commands.py

2
electrum/commands.py

@ -839,7 +839,7 @@ class Commands:
@command('wn') @command('wn')
def closechannel(self, channel_point, force=False): def closechannel(self, channel_point, force=False):
chan_id = bytes(reversed(bfh(channel_point))) chan_id = bytes(reversed(bfh(channel_point)))
coro = self.lnworker.force_close_channel(chan_id) if force else self.lnworker.force_close_channel(chan_id) coro = self.lnworker.force_close_channel(chan_id) if force else self.lnworker.close_channel(chan_id)
return self.network.run_from_another_thread(coro) return self.network.run_from_another_thread(coro)
def eval_bool(x: str) -> bool: def eval_bool(x: str) -> bool:

Loading…
Cancel
Save