Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: return correct value for amount and fees for cln send payment #2996

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

pavanjoshi914
Copy link
Contributor

Describe the changes you have made in this PR

https://cdecker-lightning.readthedocs.io/lightning-keysend.7.html#randomization

cln uses amount_msat and amount_sent_msat values and no more returns msatoshi value. we currently pass the wrong values in the total amount and fees to the extension which don't exist in response. resulting into NaN sats output for outgoing db transactions

Link this PR to an issue [optional]

Type of change

(Remove other not matching type)

  • feat: New feature (non-breaking change which adds functionality)

Screenshots of the changes [optional]

Checklist

  • Self-review of changed code
  • Manual testing
  • Added automated tests where applicable
  • Update Docs & Guides
  • For UI-related changes
  • Darkmode
  • Responsive layout

Copy link
Collaborator

@bumi bumi left a comment

Choose a reason for hiding this comment

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

utACK sounds good

@bumi bumi merged commit 0c166bd into master Jan 18, 2024
6 of 7 checks passed
@bumi bumi deleted the fix/clnpayment branch January 18, 2024 10:50
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.

2 participants