diff --git a/lib/wallet.py b/lib/wallet.py index ebe290a3..31138960 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -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 = ''