remove unused method
This commit is contained in:
parent
03e2160503
commit
03d36d91e2
|
@ -613,16 +613,6 @@ class Wallet:
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def get_transactions_at_height(self, height):
|
|
||||||
with self.lock:
|
|
||||||
values = self.transactions.values()[:]
|
|
||||||
|
|
||||||
out = []
|
|
||||||
for tx in values:
|
|
||||||
if tx['height'] == height:
|
|
||||||
out.append(tx['tx_hash'])
|
|
||||||
return out
|
|
||||||
|
|
||||||
|
|
||||||
def get_label(self, tx_hash):
|
def get_label(self, tx_hash):
|
||||||
label = self.labels.get(tx_hash)
|
label = self.labels.get(tx_hash)
|
||||||
|
@ -630,6 +620,7 @@ class Wallet:
|
||||||
if is_default: label = self.get_default_label(tx_hash)
|
if is_default: label = self.get_default_label(tx_hash)
|
||||||
return label, is_default
|
return label, is_default
|
||||||
|
|
||||||
|
|
||||||
def get_default_label(self, tx_hash):
|
def get_default_label(self, tx_hash):
|
||||||
tx = self.transactions.get(tx_hash)
|
tx = self.transactions.get(tx_hash)
|
||||||
default_label = ''
|
default_label = ''
|
||||||
|
|
Loading…
Reference in New Issue