lnrouter: rework blacklist a bit
separate from LiquidityHintMgr
This commit is contained in:
@@ -1204,12 +1204,13 @@ class Commands:
|
||||
@command('n')
|
||||
async def clear_ln_blacklist(self):
|
||||
if self.network.path_finder:
|
||||
self.network.path_finder.liquidity_hints.clear_blacklist()
|
||||
self.network.path_finder.clear_blacklist()
|
||||
|
||||
@command('n')
|
||||
async def reset_liquidity_hints(self):
|
||||
if self.network.path_finder:
|
||||
self.network.path_finder.liquidity_hints.reset_liquidity_hints()
|
||||
self.network.path_finder.clear_blacklist()
|
||||
|
||||
@command('wnl')
|
||||
async def close_channel(self, channel_point, force=False, wallet: Abstract_Wallet = None):
|
||||
|
||||
Reference in New Issue
Block a user