Previously we inserted every TxOut of a previous tx at the same outpoint, which is incorrect because an outpoint only points to a single TxOut. Now just get the TxOut corresponding to the txin prevout and insert it with its outpoint.
BDK Electrum
BDK Electrum extends electrum-client
to update bdk_chain
structures
from an Electrum server.