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

lightninglabs / taproot-assets / 11525166358

25 Oct 2024 08:43PM UTC coverage: 40.388% (-0.01%) from 40.399%
11525166358

Pull #1157

github

ffranr
rfq: validate in-flight HTLC asset amounts against HTLC out msat

Update `AssetPurchasePolicy` to include an asset specifier, which is
used to select and sum asset balances in an in-flight HTLC. This ensures
the outgoing msat amount of the HTLC is not less than the incoming Tap
asset amount in msat.

This commit fixes an issue where the asset amount used was incorrectly
set on the policy instead of being derived from the in-flight HTLC.
The erroneous asset amount field in the policy has been removed.
Pull Request #1157: rfqmsg: request fields blip align

41 of 185 new or added lines in 10 files covered. (22.16%)

33 existing lines in 7 files now uncovered.

24435 of 60500 relevant lines covered (40.39%)

58261.58 hits per line

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

83.91
/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