mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-24 08:34:18 +01:00
summary: add fees_collected fiatstr
This commit is contained in:
committed by
Christian Decker
parent
c5f0c65c01
commit
0f42425b65
@@ -30,7 +30,7 @@ num_connected=2
|
||||
num_gossipers=1
|
||||
avail_out=0.27095103btc (USD $1009.16)
|
||||
avail_in=2.05851379btc (USD $7666.93)
|
||||
fees_collected=0.00000012341btc
|
||||
fees_collected=0.00000012341btc (USD $0.00)
|
||||
channels_key=P=private O=offline
|
||||
channels= ├────────────╢ (O):02ac05912f89e43b88de3472e8c3003b
|
||||
├───────────╢ (O):02dd4cef0192611bc34cd1c3a0a7eb0f
|
||||
|
||||
@@ -172,6 +172,7 @@ def summary(plugin, exclude=''):
|
||||
reply['utxo_amount'] += ' ({})'.format(to_fiatstr(utxo_amount))
|
||||
reply['avail_out'] += ' ({})'.format(to_fiatstr(avail_out))
|
||||
reply['avail_in'] += ' ({})'.format(to_fiatstr(avail_in))
|
||||
reply['fees_collected'] += ' ({})'.format(to_fiatstr(info['fees_collected_msat']))
|
||||
|
||||
if chans != []:
|
||||
reply['channels_flags'] = 'P:private O:offline'
|
||||
|
||||
Reference in New Issue
Block a user