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

rust-bitcoin / rust-bitcoin / 8276893111
83%

Build:
DEFAULT BRANCH: master
Ran 14 Mar 2024 07:20AM UTC
Jobs 1
Files 88
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

14 Mar 2024 07:19AM UTC coverage: 84.144%. Remained the same
8276893111

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#2576: Return error when constructing pubkey from slice

<a class=hub.com/rust-bitcoin/rust-bitcoin/commit/<a class="double-link" href="https://git"><a class=hub.com/rust-bitcoin/rust-bitcoin/commit/6ecc41d126621862fe2392c7ab510e2ef9ecc960">6ecc41d12 Return error when constructing pubkey from slice (Tobin C. Harding)

Pull request description:

  This PR fixes a bug introduced by me in #2473, and uncovered by #2563 - amazing that it was found so quickly!

  Constructing a pubkey using `PublicKey::from_slice` can fail for reasons other than just incorrect length - we should not be using `expect` but rather returning the error.

  A purist might argue that we are now returning a nested error type with an unreachable variant:

    `ParsePublicKeyError::Encoding(FromSliceError::InvalidLength)`

  Is this acceptable or do we want to further improve this?

ACKs for top commit:
  sanket1729:
    ACK 6ecc41d126621862fe2392c7ab510e2ef9ecc960
  apoelstra:
    ACK 6ecc41d126621862fe2392c7ab510e2ef9ecc960

Tree-SHA512: ae8299b21a29b78c305ce028235a7ca1737

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

19667 of 23373 relevant lines covered (84.14%)

16477.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8276893111.1 14 Mar 2024 07:20AM UTC 0
84.14
GitHub Action Run
Source Files on build 8276893111
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #8276893111
  • e0d58a9c on github
  • Prev Build on master (#8269012797)
  • Next Build on master (#8292959563)
  • Delete
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