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

KarpelesLab / libwallet / 25269529660
24%

Build:
DEFAULT BRANCH: master
Ran 03 May 2026 04:19AM UTC
Jobs 1
Files 112
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

03 May 2026 03:45AM UTC coverage: 20.583% (+0.07%) from 20.509%
25269529660

push

github

MagicalTux
wlttx/bitcoin: return *secp256k1.PublicKey from btcInputSigner.Public

outscript's pubkey:comp generator (used to build the spending
pubkey embed in p2pkh / p2sh:p2wpkh / p2wpkh witnesses, see
btctx.go:143/188/268) requires a type that satisfies
interface{ SerializeCompressed() []byte }. *ecdsa.PublicKey
carries the right curve points but not that method, so signing
any non-p2wpkh input failed with:

  build bitcoin tx: tx sign: pubkey of type *ecdsa.PublicKey
  does not support pubkey:comp export

The latent bug was masked until 0.4.10 because coin selection
only ever fetched m/0 (which the wallet only emits as p2wpkh on
litecoin / bitcoin / monacoin), so the witness path that calls
pubkey:comp didn't fire. With m/0+m/1 in the mix, the first
spend that touches a legacy or wrapped-segwit UTXO trips it.

Fix: return childPub directly — *secp256k1.PublicKey has
SerializeCompressed() built in.

Test pins the Public() return type via interface assertion so a
future "let's give callers a stdlib-friendly *ecdsa.PublicKey"
refactor gets caught at test time, not in production.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

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

3121 of 15163 relevant lines covered (20.58%)

125.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25269529660.1 03 May 2026 04:19AM UTC 112
20.58
GitHub Action Run
Source Files on build 25269529660
  • Tree
  • List 112
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25269529660
  • 8ffaa2d1 on github
  • Prev Build on master (#25256390327)
  • Next Build on master (#25269702284)
  • 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