Length zero could also just mean there aren't any claims
This commit is contained in:
parent
6f66b354e5
commit
22bca7a16e
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ def run(db, height, final_height, recalculate_claim_hashes):
|
||||||
time_boost = get_time_boost(height)
|
time_boost = get_time_boost(height)
|
||||||
|
|
||||||
# Update claims from db
|
# Update claims from db
|
||||||
if len(trending_data.claims) == 0:
|
if not trending_data.initialised:
|
||||||
# On fresh launch
|
# On fresh launch
|
||||||
for row in db.execute("""
|
for row in db.execute("""
|
||||||
SELECT claim_id, trending_mixed,
|
SELECT claim_id, trending_mixed,
|
||||||
|
|
Loading…
Reference in a new issue