Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions crates/electrum/src/bdk_electrum_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,11 @@ impl<E: ElectrumApi> BdkElectrumClient<E> {
) -> Result<(), Error> {
let mut no_dup = HashSet::<Txid>::new();
for tx in &tx_update.txs {
// Do not try fetch `previous_output`s of coinbase transactions. This will always error
// and make our full-scan/sync request fail.
if tx.is_coinbase() {
continue;
}
if no_dup.insert(tx.compute_txid()) {
for vin in &tx.input {
let outpoint = vin.previous_output;
Expand Down
Loading