1
0

simplify get_label

This commit is contained in:
ThomasV
2015-12-15 12:52:30 +01:00
parent 2990b1e865
commit 9d3162b1a1
10 changed files with 12 additions and 42 deletions

View File

@@ -116,7 +116,7 @@ class ElectrumGui:
else:
time_str = 'pending'
label, is_default_label = self.wallet.get_label(tx_hash)
label = self.wallet.get_label(tx_hash)
if len(label) > 40:
label = label[0:37] + '...'
self.history.append( format_str%( time_str, label, format_satoshis(value, whitespaces=True), format_satoshis(balance, whitespaces=True) ) )