]> Untitled Git - bdk/commit
fix(chain): add missing `continue` in `CanonicalIter` assumed-tx processing
authorElias Rohrer <dev@tnull.de>
Wed, 8 Apr 2026 09:43:08 +0000 (11:43 +0200)
committervalued mammal <valuedmammal@protonmail.com>
Thu, 16 Apr 2026 16:02:48 +0000 (12:02 -0400)
commit27ab7ee0f212d9853fcff693f3bc22f9c6956105
treef5e3cb2296cca716277afda955ccc846aaaca857
parentc4c87c51a3ea5262ea195cc895ecb0ae3235f739
fix(chain): add missing `continue` in `CanonicalIter` assumed-tx processing

Without the `continue`, the loop falls through to the subsequent
processing blocks when assumed-canonical transactions are the only
remaining unprocessed source. If the anchored, seen, and leftover
iterators are all exhausted, the loop reaches `return None` and silently
drops the assumed transactions that were just marked canonical.

Co-Authored-By: HAL 9000
crates/chain/src/canonical_iter.rs
crates/chain/tests/test_tx_graph_conflicts.rs