1
0

lnworker: fix path_finder access

This commit is contained in:
bitromortac
2021-04-26 08:43:50 +02:00
parent 4411652b1c
commit 4cb0b99996
3 changed files with 9 additions and 7 deletions

View File

@@ -1092,11 +1092,13 @@ class Commands:
@command('n')
async def clear_ln_blacklist(self):
self.network.path_finder.liquidity_hints.clear_blacklist()
if self.network.path_finder:
self.network.path_finder.liquidity_hints.clear_blacklist()
@command('n')
async def reset_liquidity_hints(self):
self.network.path_finder.liquidity_hints.reset_liquidity_hints()
if self.network.path_finder:
self.network.path_finder.liquidity_hints.reset_liquidity_hints()
@command('w')
async def list_invoices(self, wallet: Abstract_Wallet = None):