|
Ran
|
Jobs
1
|
Files
50
|
Run time
1min
|
Badge
README BADGES
|
push
github
Merge bitcoindevkit/bdk#1756: fix(electrum): prevent `fetch_prev_txout` from querying coinbase transactions <a class=hub.com/bitcoindevkit/bdk/commit/d4ef26611b83baefac65fffc0758c6ac55ade9cb">d4ef26611<a href="https://github.com/bitcoindevkit/bdk/commit/bcff89d51d0e1d91058e4430eda8cc57fb7f0f08"> test(electrum): `fetch_prev_txout` does not process coinbase transactions (Wei Chen) <a class="double-link" href="https://github.com/bitcoindevkit/bdk/commit/0944b352156fcd797a5c199a462ccaed3761db0a">0944b3521</a> fix(electrum): prevent `fetch_prev_txout` from querying coinbase transactions (Wei Chen) Pull request description: Fixes #1698. ### Description `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`/`full_scan` to fail. Without this critical bug fix, `bdk_electrum` will crash when someone tracks an address being mined to. ### Notes to the reviewers ### Changelog notice * `fetch_prev_txout` no longer queries coinbase transactions. ### Checklists #### All Submissions: * [x] I've signed all my commits * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md) * [x] I ran `cargo fmt` and `cargo clippy` before committing #### Bugfixes: * [ ] This pull request breaks the existing API * [x] I've added tests to reproduce the issue which are now passing * [x] I'm linking the issue being fixed by this PR ACKs for top commit: evanlinjin: ACK d4ef26611b83baefac65fffc0758c6ac55ade9cb Tree-SHA512: 6423f9486efa43a0595ab070ed8f9f2d982
24 of 24 new or added lines in 1 file covered. (100.0%)
11699 of 14014 relevant lines covered (83.48%)
19049.72 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 12194739236.1 | 0 |
83.48 |
GitHub Action Run |