forked from LBRYCommunity/lbry-sdk
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
|
||||
if ':' not in 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]
|
||||
tx = None
|
||||
if claim:
|
||||
|
|
Loading…
Reference in a new issue