simplify get_label
This commit is contained in:
@@ -2435,7 +2435,7 @@ class ElectrumWindow(QMainWindow, PrintError):
|
||||
value_string = '--'
|
||||
|
||||
if tx_hash:
|
||||
label, is_default_label = wallet.get_label(tx_hash)
|
||||
label = wallet.get_label(tx_hash)
|
||||
label = label.encode('utf-8')
|
||||
else:
|
||||
label = ""
|
||||
|
||||
Reference in New Issue
Block a user