fix duplicate trending notification to ES
This commit is contained in:
parent
5e73f82c23
commit
efd8fd81ed
1 changed files with 7 additions and 3 deletions
|
@ -1407,6 +1407,10 @@ class BlockProcessor:
|
|||
self.db.prefix_db.effective_amount.stage_put(
|
||||
(name, new_effective_amount, tx_num, position), (touched,)
|
||||
)
|
||||
if touched in self.claim_hash_to_txo or touched in self.removed_claim_hashes \
|
||||
or touched in self.pending_support_amount_change:
|
||||
# exclude sending notifications for claims/supports that activated but
|
||||
# weren't added/spent in this block
|
||||
self._add_claim_activation_change_notification(
|
||||
touched.hex(), height, prev_effective_amount, new_effective_amount
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue