]> Untitled Git - bdk/commit
fix(electrum): prevent `fetch_prev_txout` from querying coinbase transactions
authorWei Chen <wzc110@gmail.com>
Wed, 6 Nov 2024 16:33:51 +0000 (00:33 +0800)
committerWei Chen <wzc110@gmail.com>
Fri, 6 Dec 2024 06:03:27 +0000 (14:03 +0800)
commit0944b352156fcd797a5c199a462ccaed3761db0a
tree15419013c8c1e85ee7d02c1e7a6d2f6ea3579c42
parent2a1787b4cc78add501527e1ff41b80e378ba075e
fix(electrum): prevent `fetch_prev_txout` from querying coinbase transactions

\`fetch_prev_txout\` should not try to query the prevouts of coinbase
transactions, as it may result in the Electrum server returning an error
which would cause the overall `sync` to fail.
crates/electrum/src/bdk_electrum_client.rs