Skip to content

Document listsendpays amount msat better #8384

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

Conversation

rustyrussell
Copy link
Contributor

@rustyrussell rustyrussell commented Jun 30, 2025

Need to specify exactly when this field is missing: turns out is "never" is.

Also, we noticed that sendonion does not refer to the modern coolness of injectpaymentonion!

Fixes: #6909
Closes: #8144
Changelog-None: doc only

@rustyrussell rustyrussell added this to the v25.09 milestone Jun 30, 2025
@rustyrussell rustyrussell requested a review from cdecker as a code owner June 30, 2025 02:12
@rustyrussell rustyrussell force-pushed the document-listsendpays-amount_msat-better branch from 287f0ac to 521220c Compare June 30, 2025 02:16
sangbida
sangbida previously approved these changes Jun 30, 2025
Copy link
Collaborator

@sangbida sangbida left a comment

Choose a reason for hiding this comment

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

Looks good to me, there's only a couple places where there's double spacing.

@rustyrussell rustyrussell force-pushed the document-listsendpays-amount_msat-better branch from 5fdbb7a to 0aea211 Compare June 30, 2025 02:35
…listsendpays.

Sangbida and I traced back through ancient history: when the pay plugin was introduced
in 0.9.0 (2019!) it already used the amount_msat parameter (then called `msatoshi`),
so this case effectively "never happens".

But we added a test for it just in case.

Signed-off-by: Rusty Russell <[email protected]>
Among other things, injectpaymentonion insists on knowing the destination
amount_msat.

Signed-off-by: Rusty Russell <[email protected]>
@rustyrussell rustyrussell force-pushed the document-listsendpays-amount_msat-better branch from 0aea211 to 580661d Compare June 30, 2025 02:37
@sangbida sangbida enabled auto-merge (rebase) June 30, 2025 02:37
@sangbida sangbida merged commit c50bd38 into ElementsProject:master Jun 30, 2025
40 checks passed
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.

Documentation of listsendpays
2 participants