Use keyword arguments for format_amount call clarity (#4290)
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user