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

lightninglabs / taproot-assets / 13161173239
41%
main: 57%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-1913-46bebd3a34518c96f58957c2cb9c91e18cfdf1cf
DEFAULT BRANCH: main
Ran 05 Feb 2025 03:51PM UTC
Jobs 1
Files 213
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

05 Feb 2025 03:45PM UTC coverage: 40.733% (+0.005%) from 40.728%
13161173239

Pull #1354

github

gijswijs
wallet_anchor + itest: fix fee calc rounding

This commit fixes the an error with fee calculation in the wallet
anchor. In cases where we pass a fee as sat/kvb we divide by a thousand
because that's what `FundPsbt` expects. However, with real world values
like 1952 sat/kvb, this division results in a rounded down fee of 1
sat/vbyte, whihc then can be below the min_relay_fee value.

The itest has been updated to include the correct fee calculation when
using sat/kvb values that would previously result in rounding errors.
This ensures that the fee is always above the min_relay_fee value.
Pull Request #1354: Fee calculation rounding in wallet anchor

0 of 3 new or added lines in 1 file covered. (0.0%)

29 existing lines in 6 files now uncovered.

26773 of 65728 relevant lines covered (40.73%)

94238.34 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
0.0
0.0% wallet_anchor.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
84.09
-0.23% commitment/tap.go
2
53.22
0.0% tappsbt/create.go
5
43.08
-0.35% tapchannel/aux_leaf_signer.go
5
83.13
-2.01% tapchannel/aux_invoice_manager.go
6
68.21
-0.87% tapdb/multiverse.go
10
52.81
-0.87% universe/interface.go
Jobs
ID Job ID Ran Files Coverage
1 unit - 13161173239.1 05 Feb 2025 03:51PM UTC 213
40.73
GitHub Action Run
Source Files on build 13161173239
  • Tree
  • List 213
  • Changed 92
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1354
  • PR Base - main (#13127541505)
  • 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

© 2025 Coveralls, Inc