From f06098978c6201dbe9019d21124666d040443a8c Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Mon, 8 Oct 2018 19:33:55 -0400 Subject: [PATCH] ledger.get_transaction dropped in favor of ledger.db.get_transaction --- lbrynet/wallet/account.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbrynet/wallet/account.py b/lbrynet/wallet/account.py index 4edd53ee8..5c156c948 100644 --- a/lbrynet/wallet/account.py +++ b/lbrynet/wallet/account.py @@ -60,7 +60,7 @@ class Account(BaseAccount): claim = claims[maybe_claim_id] tx = None if claim: - tx = yield self.ledger.get_transaction(claim['txid']) + tx = yield self.ledger.db.get_transaction(txid=claim['txid']) else: log.warning(maybe_claim_id) if tx is not None: @@ -96,7 +96,7 @@ class Account(BaseAccount): else: try: txid, nout = maybe_claim_id.split(':') - tx = yield self.ledger.get_transaction(txid) + tx = yield self.ledger.db.get_transaction(txid=txid) if tx.outputs[int(nout)].script.is_claim_involved: results['previous-success'] += 1 else: