mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-08-30 08:51:27 +00:00
dont fail migrating certs if lbryumx doesnt know about a cert claim
This commit is contained in:
parent
a42bf67800
commit
2a53afbfd8
1 changed files with 7 additions and 0 deletions
|
@ -50,6 +50,13 @@ class Account(BaseAccount):
|
||||||
results['total'] += 1
|
results['total'] += 1
|
||||||
if ':' not in maybe_claim_id:
|
if ':' not in maybe_claim_id:
|
||||||
claims = yield self.ledger.network.get_claims_by_ids(maybe_claim_id)
|
claims = yield self.ledger.network.get_claims_by_ids(maybe_claim_id)
|
||||||
|
if maybe_claim_id not in claims:
|
||||||
|
log.warning(
|
||||||
|
"Failed to migrate claim '%s', server did not return any claim information.",
|
||||||
|
maybe_claim_id
|
||||||
|
)
|
||||||
|
results['migrate-failed'] += 1
|
||||||
|
continue
|
||||||
claim = claims[maybe_claim_id]
|
claim = claims[maybe_claim_id]
|
||||||
tx = None
|
tx = None
|
||||||
if claim:
|
if claim:
|
||||||
|
|
Loading…
Add table
Reference in a new issue