1
0

show unmatured coins in status bar. fixes #1163

This commit is contained in:
ThomasV
2015-05-05 20:52:14 +02:00
parent 4bce96526b
commit 687cc7783f
8 changed files with 74 additions and 52 deletions

View File

@@ -124,9 +124,12 @@ class ElectrumGui:
if not self.wallet.up_to_date:
msg = _( "Synchronizing..." )
else:
c, u = self.wallet.get_balance()
msg = _("Balance")+": %f "%(Decimal( c ) / 100000000)
if u: msg += " [%f unconfirmed]"%(Decimal( u ) / 100000000)
c, u, x = self.wallet.get_balance()
msg = _("Balance")+": %f "%(Decimal(c) / 100000000)
if u:
msg += " [%f unconfirmed]"%(Decimal(u) / 100000000)
if x:
msg += " [%f unmatured]"%(Decimal(x) / 100000000)
else:
msg = _( "Not connected" )