Skip to content

fix: properly check outgoing payments in phoenixd#3355

Merged
dni merged 2 commits into
devfrom
fix/phoenixd-outgoingcheck
Sep 12, 2025
Merged

fix: properly check outgoing payments in phoenixd#3355
dni merged 2 commits into
devfrom
fix/phoenixd-outgoingcheck

Conversation

@dni
Copy link
Copy Markdown
Member

@dni dni commented Sep 11, 2025

No description provided.

@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.35%. Comparing base (36fc911) to head (0346c87).
⚠️ Report is 1 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #3355      +/-   ##
==========================================
- Coverage   57.35%   57.35%   -0.01%     
==========================================
  Files         113      113              
  Lines       14348    14348              
==========================================
- Hits         8230     8229       -1     
- Misses       6118     6119       +1     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@arcbtc
Copy link
Copy Markdown
Member

arcbtc commented Sep 11, 2025

Just a thought, as outgoing from phoenixd currently works, apart from for the hodl invoices, will this not break for normal outgoing although fix for hodl invoices?
https://phoenix.acinq.co/server/api#get-outgoing-payment
Unless for nomral invoices the paymentId is the payment_hash.
I guess it needs testing. Ill spin up this evening and test.

@motorina0
Copy link
Copy Markdown
Collaborator

Why remove limit?

@arcbtc
Copy link
Copy Markdown
Member

arcbtc commented Sep 11, 2025

Just a thought, as outgoing from phoenixd currently works, apart from for the hodl invoices, will this not break for normal outgoing although fix for hodl invoices? https://phoenix.acinq.co/server/api#get-outgoing-payment Unless for nomral invoices the paymentId is the payment_hash. I guess it needs testing. Ill spin up this evening and test.

Nope, fix totally worked!

@arcbtc arcbtc self-requested a review September 11, 2025 23:41
Copy link
Copy Markdown
Member

@arcbtc arcbtc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested worked!

@dni
Copy link
Copy Markdown
Member Author

dni commented Sep 12, 2025

Why remove limit.
1st. there is no limit on thouse endpoints.

  1. we query a single record by unique paymenthash

@motorina0
Copy link
Copy Markdown
Collaborator

Tests fail

@dni
Copy link
Copy Markdown
Member Author

dni commented Sep 12, 2025

fixtures still checked for old endpoint

@dni dni requested a review from motorina0 September 12, 2025 09:15
@dni dni merged commit c312d70 into dev Sep 12, 2025
44 checks passed
@dni dni deleted the fix/phoenixd-outgoingcheck branch September 12, 2025 09:26
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.

3 participants