]> Untitled Git - bdk/commit
test(electrum): cover tx re-mined at the same height after a reorg
author志宇 <hello@evanlinjin.me>
Fri, 18 Sep 2026 09:36:19 +0000 (09:36 +0000)
committer志宇 <hello@evanlinjin.me>
Fri, 18 Sep 2026 10:14:26 +0000 (10:14 +0000)
commit6c5e9771814fe07fe13b1a401d06b7cc7b420cd7
tree1f4c654bd4acb0ad24ac094ac9c0469c29054741
parentb4343702e7da3f3d634559b5cbdb12dbe419c94f
test(electrum): cover tx re-mined at the same height after a reorg

Checks the tx is re-anchored to the replacement block both when the
reorged height is still in the synced chain suffix and when 20 blocks are
mined before the next sync.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
crates/electrum/tests/test_electrum.rs