diff --git a/lbrynet/core/Wallet.py b/lbrynet/core/Wallet.py index 25f88f608..93e3d1f4c 100644 --- a/lbrynet/core/Wallet.py +++ b/lbrynet/core/Wallet.py @@ -693,7 +693,7 @@ class Wallet(object): defer.returnValue(results) @defer.inlineCallbacks - def get_claim(self, claim_id, check_expire=True): + def get_claim_by_claim_id(self, claim_id, check_expire=True): cached_claim = yield self.get_cached_claim(claim_id, check_expire) if cached_claim: result = cached_claim diff --git a/lbrynet/daemon/Daemon.py b/lbrynet/daemon/Daemon.py index be1841a25..0037365a1 100644 --- a/lbrynet/daemon/Daemon.py +++ b/lbrynet/daemon/Daemon.py @@ -836,7 +836,8 @@ class Daemon(AuthJSONRPCServer): size = None message = None - claim = yield self.session.wallet.get_claim(lbry_file.claim_id, check_expire=False) + claim = yield self.session.wallet.get_claim_by_claim_id(lbry_file.claim_id, + check_expire=False) if claim and 'value' in claim: metadata = claim['value'] @@ -1343,7 +1344,7 @@ class Daemon(AuthJSONRPCServer): """ try: if claim_id: - claim_results = yield self.session.wallet.get_claim(claim_id) + claim_results = yield self.session.wallet.get_claim_by_claim_id(claim_id) elif txid and nout is not None: outpoint = ClaimOutpoint(txid, nout) claim_results = yield self.session.wallet.get_claim_by_outpoint(outpoint)