From 3a264c1eecb7b50dcff7debafb045586706bc1e6 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Mon, 8 Oct 2018 18:50:45 -0400 Subject: [PATCH] drop ledger.get_transaction() in favor of just using ledger.db.get_transaction() directly --- torba/baseledger.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/torba/baseledger.py b/torba/baseledger.py index 692610668..8eb888264 100644 --- a/torba/baseledger.py +++ b/torba/baseledger.py @@ -133,9 +133,6 @@ class BaseLedger(metaclass=LedgerRegistry): def add_account(self, account: baseaccount.BaseAccount): self.accounts.append(account) - def get_transaction(self, txhash): - return self.db.get_transaction(txhash) - @defer.inlineCallbacks def get_private_key_for_address(self, address): match = yield self.db.get_address(address)