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

lightninglabs / taproot-assets / 13161173239

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

Source File
Press 'n' to go to next uncovered line, 'b' for previous

84.09
/commitment/tap.go


Source Not Available

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