effective amount

This commit is contained in:
Jack Robison 2022-10-16 15:05:47 -04:00
parent 97a0d00bfd
commit b230b693f8

View file

@ -1314,6 +1314,14 @@ class BlockchainProcessorService(BlockchainService):
ACTIVATED_CLAIM_TXO_TYPE, winning_claim_hash, tx_num,
position, previous_pending_activate.height, name, amount
)
pending_activated = self.db.prefix_db.activated.get_pending(
ACTIVATED_CLAIM_TXO_TYPE, tx_num, position
)
if pending_activated:
self.get_remove_activate_ops(
ACTIVATED_CLAIM_TXO_TYPE, winning_claim_hash, tx_num, position,
pending_activated.height, name, amount
)
self.get_activate_ops(
ACTIVATED_CLAIM_TXO_TYPE, winning_claim_hash, tx_num,
position, height, name, amount