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
No known key found for this signature in database
GPG key ID: 1965063FC13BEBE2

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):