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

KarpelesLab / libwallet / 24765627716
25%

Build:
DEFAULT BRANCH: master
Ran 22 Apr 2026 07:26AM UTC
Jobs 1
Files 99
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

22 Apr 2026 07:19AM UTC coverage: 20.846% (-0.01%) from 20.858%
24765627716

push

github

MagicalTux
Web3: skip chain_switch prompt when no candidate network or account

Previous chain_switch detection (commit 934bf82) intercepted any
action method on a different chain family, even when the wallet
had nothing the user could pick — a Solana-only wallet hit
4901 'no bitcoin account available' on mpurse_signMessage instead
of falling through to the original mpurse handler.

That broke three existing test-host tests (mpurse_getAddress,
mpurse_signRawTransaction, mpurse_sendAsset) that expected the
old fall-through error from the actual handler.

Add hasChainSwitchCandidates pre-check: skip the prompt when
candidateNetworksForFamily or candidateAccountsForFamily is
empty. Original handler then runs and surfaces its own
(more informative) error. Wallets that DO have compatible
networks + accounts still get the chain_switch prompt as
designed.

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

0 of 8 new or added lines in 2 files covered. (0.0%)

2529 of 12132 relevant lines covered (20.85%)

65.93 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
0.0
0.0% wltbase/web3_chainswitch.go
1
0.59
0.0% wltbase/web3.go
Jobs
ID Job ID Ran Files Coverage
1 24765627716.1 22 Apr 2026 07:26AM UTC 99
20.85
GitHub Action Run
Source Files on build 24765627716
  • Tree
  • List 99
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24765627716
  • c4826ad8 on github
  • Prev Build on master (#24764733374)
  • Next Build on master (#24766251964)
  • 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