mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 09:21:39 +00:00
follow-up prev commit
This commit is contained in:
parent
0e8dba897e
commit
281d51c002
1 changed files with 1 additions and 1 deletions
|
@ -835,7 +835,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…
Add table
Reference in a new issue