|
@ -604,10 +604,7 @@ class Abstract_Wallet(AddressSynchronizer): |
|
|
return item |
|
|
return item |
|
|
|
|
|
|
|
|
def get_label(self, tx_hash): |
|
|
def get_label(self, tx_hash): |
|
|
label = self.labels.get(tx_hash, '') |
|
|
return self.labels.get(tx_hash, '') or self.get_default_label(tx_hash) |
|
|
if label is '': |
|
|
|
|
|
label = self.get_default_label(tx_hash) |
|
|
|
|
|
return label |
|
|
|
|
|
|
|
|
|
|
|
def get_default_label(self, tx_hash): |
|
|
def get_default_label(self, tx_hash): |
|
|
if not self.db.get_txi(tx_hash): |
|
|
if not self.db.get_txi(tx_hash): |
|
|