From 426a0449fd92d7c6e75ca8712c543ab726373308 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Tue, 8 Dec 2020 20:50:11 -0300 Subject: [PATCH] fix initial sync for sync without claims --- lbry/blockchain/sync/synchronizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbry/blockchain/sync/synchronizer.py b/lbry/blockchain/sync/synchronizer.py index fbda6b3a7..2d386909b 100644 --- a/lbry/blockchain/sync/synchronizer.py +++ b/lbry/blockchain/sync/synchronizer.py @@ -259,7 +259,7 @@ class BlockchainSync(Sync): async def sync_claims(self, blocks) -> bool: delete_claims = takeovers = claims_with_changed_supports = claims_with_changed_reposts = 0 - initial_sync = not await self.db.has_claims() + initial_sync = not await self.db.has_filters() with Progress(self.db.message_queue, CLAIMS_INIT_EVENT) as p: if initial_sync: total, batches = await self.distribute_unspent_txos(CLAIM_TYPE_CODES)