fix activating non existent claim
This commit is contained in:
parent
6155cda66f
commit
acd0c2188f
1 changed files with 3 additions and 0 deletions
|
@ -916,6 +916,9 @@ class BlockProcessor:
|
||||||
amount = self.db.get_claim_txo_amount(
|
amount = self.db.get_claim_txo_amount(
|
||||||
activated.claim_hash
|
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
|
self.activated_claim_amount_by_name_and_hash[(activated.normalized_name, activated.claim_hash)] = amount
|
||||||
else:
|
else:
|
||||||
txo_type = ACTIVATED_SUPPORT_TXO_TYPE
|
txo_type = ACTIVATED_SUPPORT_TXO_TYPE
|
||||||
|
|
Loading…
Reference in a new issue