commands: use channeldb.to_dict for dumpgraph
This commit is contained in:
@@ -1043,7 +1043,7 @@ class Commands:
|
|||||||
|
|
||||||
@command('wn')
|
@command('wn')
|
||||||
async def dumpgraph(self, wallet: Abstract_Wallet = None):
|
async def dumpgraph(self, wallet: Abstract_Wallet = None):
|
||||||
return list(map(bh2u, wallet.lnworker.channel_db.nodes.keys()))
|
return wallet.lnworker.channel_db.to_dict()
|
||||||
|
|
||||||
@command('n')
|
@command('n')
|
||||||
async def inject_fees(self, fees):
|
async def inject_fees(self, fees):
|
||||||
|
|||||||
Reference in New Issue
Block a user