1
0

Use keyword arguments for format_amount call clarity (#4290)

This commit is contained in:
Ben Woosley
2018-04-23 12:17:29 -04:00
committed by ghost43
parent d0352379d7
commit d7750c73e6
3 changed files with 4 additions and 4 deletions

View File

@@ -725,9 +725,9 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
c, u, x = self.wallet.get_balance()
text = _("Balance" ) + ": %s "%(self.format_amount_and_units(c))
if u:
text += " [%s unconfirmed]"%(self.format_amount(u, True).strip())
text += " [%s unconfirmed]"%(self.format_amount(u, is_diff=True).strip())
if x:
text += " [%s unmatured]"%(self.format_amount(x, True).strip())
text += " [%s unmatured]"%(self.format_amount(x, is_diff=True).strip())
# append fiat balance and price
if self.fx.is_enabled():