diff --git a/zebra-state/src/service/non_finalized_state/queued_blocks.rs b/zebra-state/src/service/non_finalized_state/queued_blocks.rs index 27ff4fba..43d0c7ed 100644 --- a/zebra-state/src/service/non_finalized_state/queued_blocks.rs +++ b/zebra-state/src/service/non_finalized_state/queued_blocks.rs @@ -111,6 +111,11 @@ impl QueuedBlocks { self.blocks.remove(&hash).expect("block is present"); let parent_hash = &expired_block.block.header.previous_block_hash; + // we don't care if the receiver was dropped + let _ = expired_sender.send(Err( + "pruned block at or below the finalized tip height".into() + )); + // TODO: only remove UTXOs if there are no queued blocks with that UTXO // (known_utxos is best-effort, so this is ok for now) for outpoint in expired_block.new_outputs.keys() {