fix labels
This commit is contained in:
parent
1f79d6c25d
commit
e606ed0aa3
|
@ -347,8 +347,8 @@ def get_history_values(n):
|
||||||
time_str = 'pending'
|
time_str = 'pending'
|
||||||
conf = 'o'
|
conf = 'o'
|
||||||
|
|
||||||
label = line.get('label')
|
tx_hash = line['tx_hash']
|
||||||
#if not label: label = line['tx_hash']
|
label = wallet.labels.get(tx_hash)
|
||||||
is_default_label = (label == '') or (label is None)
|
is_default_label = (label == '') or (label is None)
|
||||||
if is_default_label: label = line['default_label']
|
if is_default_label: label = line['default_label']
|
||||||
values.append((conf, ' ' + time_str, ' ' + format_satoshis(v,True), ' ' + label ))
|
values.append((conf, ' ' + time_str, ' ' + format_satoshis(v,True), ' ' + label ))
|
||||||
|
|
Loading…
Reference in New Issue