filter abandoned claims from those considered for early activation
This commit is contained in:
parent
b0d2efd613
commit
9f0611f3d9
1 changed files with 3 additions and 1 deletions
|
@ -1065,7 +1065,7 @@ class BlockProcessor:
|
|||
if activated.claim_hash not in claim_exists:
|
||||
claim_exists[activated.claim_hash] = activated.claim_hash in self.pending_claim_txos or (
|
||||
self.db.get_claim_txo(activated.claim_hash) is not None)
|
||||
if claim_exists[activated.claim_hash]:
|
||||
if claim_exists[activated.claim_hash] and activated.claim_hash not in self.staged_pending_abandoned:
|
||||
v = future_amount, activated, activated_txos[-1]
|
||||
future_activations[activated.name][activated.claim_hash] = v
|
||||
|
||||
|
@ -1076,6 +1076,8 @@ class BlockProcessor:
|
|||
self.db.get_claim_txo(claim_hash) is not None)
|
||||
if not claim_exists[claim_hash]:
|
||||
continue
|
||||
if claim_hash in self.staged_pending_abandoned:
|
||||
continue
|
||||
for txo in activated:
|
||||
v = txo[1], PendingActivationValue(claim_hash, name), txo[0]
|
||||
future_activations[name][claim_hash] = v
|
||||
|
|
Loading…
Reference in a new issue