drop ledger.get_transaction() in favor of just using ledger.db.get_transaction() directly

This commit is contained in:
Lex Berezhny 2018-10-08 18:50:45 -04:00
parent 9c4dfa7f84
commit 3a264c1eec

View file

@ -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)