From 035c8778133cd50ba914b87d0be98e320657db17 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 26 May 2022 09:04:46 +0200 Subject: [PATCH] channels_list: do not add extra whitespaces when displaying amounts in HTLCs --- electrum/gui/qt/channels_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/gui/qt/channels_list.py b/electrum/gui/qt/channels_list.py index 245be0221..be9561711 100644 --- a/electrum/gui/qt/channels_list.py +++ b/electrum/gui/qt/channels_list.py @@ -87,7 +87,7 @@ class ChannelsList(MyTreeView): bal_other = chan.balance(other)//1000 bal_minus_htlcs_other = chan.balance_minus_outgoing_htlcs(other)//1000 if bal_other != bal_minus_htlcs_other: - label += ' (+' + self.parent.format_amount(bal_other - bal_minus_htlcs_other, whitespaces=True) + ')' + label += ' (+' + self.parent.format_amount(bal_other - bal_minus_htlcs_other, whitespaces=False) + ')' else: assert isinstance(chan, ChannelBackup) label = ''