summary: Add fees_collected info to output

This commit is contained in:
Aido
2021-02-06 17:45:52 +00:00
committed by Christian Decker
parent 139ea7de14
commit defdc28915
2 changed files with 2 additions and 0 deletions

View File

@@ -158,6 +158,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()
if plugin.fiat_per_btc > 0:
reply['utxo_amount'] += ' ({})'.format(to_fiatstr(utxo_amount))