Skip to content

Conversation

@shruti2522
Copy link

fix #3374

adds inflight_msat to RecentPaymentDetails::Pending to expose the amount currently locked in HTLCs. this allows wallets to avoid balance flicker during payment retries by distinguishing between inflight funds and funds waiting to retry

@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Jan 31, 2026

I've assigned @wpaulino as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@codecov
Copy link

codecov bot commented Jan 31, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.00%. Comparing base (e9ce486) to head (0c440b6).
⚠️ Report is 62 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4366      +/-   ##
==========================================
- Coverage   86.54%   86.00%   -0.55%     
==========================================
  Files         158      156       -2     
  Lines      103166   102606     -560     
  Branches   103166   102606     -560     
==========================================
- Hits        89287    88243    -1044     
- Misses      11456    11853     +397     
- Partials     2423     2510      +87     
Flag Coverage Δ
fuzzing ?
tests 86.00% <ø> (+0.16%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Method to fetch pending-to-be-sent-but-not-in-HTLCs balance

2 participants