fix initial sync for sync without claims
This commit is contained in:
parent
94d76cb13d
commit
240f0a9a05
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue