1
0

commands: use channeldb.to_dict for dumpgraph

This commit is contained in:
bitromortac
2020-09-22 08:48:45 +02:00
parent 1eae324ddb
commit c422d7c671

View File

@@ -1043,7 +1043,7 @@ class Commands:
@command('wn')
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')
async def inject_fees(self, fees):