From acd0c2188fee35de77431f01b2aadb4916b11703 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Sat, 25 Sep 2021 16:29:54 -0400 Subject: [PATCH] fix activating non existent claim --- lbry/wallet/server/block_processor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lbry/wallet/server/block_processor.py b/lbry/wallet/server/block_processor.py index 4585fd62a..907e0d8e2 100644 --- a/lbry/wallet/server/block_processor.py +++ b/lbry/wallet/server/block_processor.py @@ -916,6 +916,9 @@ class BlockProcessor: amount = self.db.get_claim_txo_amount( activated.claim_hash ) + if amount is None: + # print("\tskip activate for non existent claim") + continue self.activated_claim_amount_by_name_and_hash[(activated.normalized_name, activated.claim_hash)] = amount else: txo_type = ACTIVATED_SUPPORT_TXO_TYPE