remove unused method

This commit is contained in:
thomasv 2013-02-23 11:50:09 +01:00
parent 03e2160503
commit 03d36d91e2
1 changed files with 1 additions and 10 deletions

View File

@ -613,16 +613,6 @@ class Wallet:
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):
label = self.labels.get(tx_hash)
@ -630,6 +620,7 @@ class Wallet:
if is_default: label = self.get_default_label(tx_hash)
return label, is_default
def get_default_label(self, tx_hash):
tx = self.transactions.get(tx_hash)
default_label = ''