mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-24 08:34:18 +01:00
summary: fix attribute errors
This commit is contained in:
committed by
Rusty Russell
parent
0f42425b65
commit
d1a8db61cb
@@ -157,7 +157,7 @@ def summary(plugin, exclude=''):
|
||||
p['connected'],
|
||||
c['short_channel_id'],
|
||||
plugin.persist['peerstate'][pid]['avail'],
|
||||
c['fee_base_msat'],
|
||||
Millisatoshi(c['fee_base_msat']),
|
||||
c['fee_proportional_millionths'],
|
||||
))
|
||||
|
||||
@@ -166,7 +166,7 @@ def summary(plugin, exclude=''):
|
||||
|
||||
reply['avail_out'] = avail_out.to_btc_str()
|
||||
reply['avail_in'] = avail_in.to_btc_str()
|
||||
reply['fees_collected'] = info['fees_collected_msat'].to_btc_str()
|
||||
reply['fees_collected'] = Millisatoshi(info['fees_collected_msat']).to_btc_str()
|
||||
|
||||
if plugin.fiat_per_btc > 0:
|
||||
reply['utxo_amount'] += ' ({})'.format(to_fiatstr(utxo_amount))
|
||||
|
||||
Reference in New Issue
Block a user