In this case the wallet receives a transaction and a reorg removes it
from the chain. This can happen if the "best chain" does not contain
that transaction, and the subsequent blocks don't include it either.
Setup w/ default dataset with a received transaction at received_tx_height
sync up to received_tx_height minus some blocks.
capture balance
sync up to received_tx_height or higher and capture txid of the received transaction
trigger the reorg that removes the received transaction from the chain
sync to chaintip (the wallet should recover from the reorg)7
verify that the balance is equal to step 3 and that the txid found on step 4
is not present anymore.
ReOrg Expires Inbound Transaction
In this case the wallet receives a transaction and a reorg removes it from the chain. This can happen if the "best chain" does not contain that transaction, and the subsequent blocks don't include it either.
received_tx_height
received_tx_height
minus some blocks.received_tx_height
or higher and capture txid of the received transaction