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

KarpelesLab / libwallet / 26318845438 / 1
22%
master: 22%

Build:
DEFAULT BRANCH: master
Ran 23 May 2026 12:47AM UTC
Files 123
Run time 3s
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 May 2026 12:45AM UTC coverage: 22.098% (-0.01%) from 22.111%
26318845438.1

push

github

MagicalTux
wltintf: wire ListHelper searchKey filters into the WHERE clause

ListHelper accepted a `searchKey ...string` variadic naming which
request params should drive the SQL where-clause, but never read
them — `psql.Fetch` was always called with `where=nil`. Every list
endpoint that relied on a searchKey silently returned every row in
the table:

  - wltacct.apiListAccount         (Wallet)
  - wltnet.apiListNetwork          (TestNet)
  - wlttoken.apiListToken          (Name, Symbol, Address, Type)
  - wltcontact.apiListContact      (Name, Address, Type)
  - wltwallet.apiListWalletKey     (no filter, but Fetch path)
  - wltcrash.apiListCrash          (Crash)

Reported by tibaneapp's wallet-detail screen — selecting a wallet
showed accounts from every other wallet on the device too because
`Account?Wallet=<id>` was treated as `Account` (TibaneApp PR #6 was
a client-side defensive filter). Loop now reads each named param
out of the apirouter context via `GetParam[any]` and lands it in a
`map[string]any` passed to `psql.Fetch`.

`any` (rather than `string`) preserves the original value type, so
bool columns like `TestNet` keep matching when callers send the
right shape.

CHANGELOG entry added to the in-flight 0.4.40.

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

4026 of 18219 relevant lines covered (22.1%)

103.28 hits per line

Source Files on job 26318845438.1
  • Tree
  • List 123
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26318845438
  • 00948d86 on github
  • Prev Job for on master (#26318743419.1)
  • Next Job for on master (#26319124552.1)
  • 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