mirror of
https://github.com/accumulator/charge-lnd.git
synced 2026-08-13 12:33:01 +02:00
fix chan.disabled check
This commit is contained in:
parent
b90ae1f1ec
commit
e56840f27f
1 changed files with 1 additions and 1 deletions
|
|
@ -313,7 +313,7 @@ class Policies:
|
|||
return False
|
||||
if 'chan.max_fee_ppm' in config and not config.getint('chan.max_fee_ppm') >= peernode_policy.fee_rate_milli_msat:
|
||||
return False
|
||||
if 'chan.disabled' in config and not config.getbool('chan.disabled') == peernode.disabled:
|
||||
if 'chan.disabled' in config and not config.getbool('chan.disabled') == peernode_policy.disabled:
|
||||
return False
|
||||
|
||||
info = self.lnd.get_info()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue