• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bitcoindevkit / bdk / 12472266650
79%

Build:
DEFAULT BRANCH: master
Ran 23 Dec 2024 08:05PM UTC
Jobs 1
Files 51
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Dec 2024 08:00PM UTC coverage: 83.86% (-0.02%) from 83.883%
12472266650

push

github

notmandatory
Merge bitcoindevkit/bdk#1768: refactor(wallet): cleanup and remove unused code in create_tx

a2f7a8be1 refactor(wallet): cleanup and remove unused code in create_tx (Steve Myers)

Pull request description:

  ### Description

  Cleanup and remove unused code in `Wallet::create_tx`, this was noticed during review of #1763. See: https://github.com/bitcoindevkit/bdk/pull/1763#discussion_r1876740140

  fixes #1710

  ### Notes to the reviewers

  In addition to removing the unneeded assignments to `fee_amount` and `received` I also refactored creation of the change output to be an `if let` instead of `match` statement since it only needs to do something if there is `Excess::Change`.

  I should have done this cleanup as part of #1048.

  ### Changelog notice

  None, only internal cleanup.

  ### 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

ACKs for top commit:
  ValuedMammal:
    reACK a2f7a8be

Tree-SHA512: 64e5895ffe92f1fdf4bdee0a483e092c559

12 of 12 new or added lines in 1 file covered. (100.0%)

3 existing lines in 1 file now uncovered.

11971 of 14275 relevant lines covered (83.86%)

19770.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12472266650.1 23 Dec 2024 08:05PM UTC 0
83.86
GitHub Action Run
Source Files on build 12472266650
Detailed source file information is not available for this build.
  • Back to Repo
  • 4a3675fc on github
  • Prev Build on master (#12468255429)
  • Next Build on master (#12602977761)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc