mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-27 15:31:31 +00:00
wallet set_tx_label_based_on_invoices: don't overwrite custom label
related: #6545
This commit is contained in:
parent
55eb62bb90
commit
6d86f4dc18
1 changed files with 1 additions and 1 deletions
|
@ -823,7 +823,7 @@ class Abstract_Wallet(AddressSynchronizer, ABC):
|
||||||
for invoice in self.get_relevant_invoices_for_tx(tx):
|
for invoice in self.get_relevant_invoices_for_tx(tx):
|
||||||
if invoice.message:
|
if invoice.message:
|
||||||
labels.append(invoice.message)
|
labels.append(invoice.message)
|
||||||
if labels:
|
if labels and not self.labels.get(tx_hash, ''):
|
||||||
self.set_label(tx_hash, "; ".join(labels))
|
self.set_label(tx_hash, "; ".join(labels))
|
||||||
return bool(labels)
|
return bool(labels)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue