-
Notifications
You must be signed in to change notification settings - Fork 901
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
A proposed solution to fix json null value for bolt11 key when is used the pay plugin #3878
A proposed solution to fix json null value for bolt11 key when is used the pay plugin #3878
Conversation
Mh, travis CI discovered a fault inside my idea, one of the error is reported here https://travis-ci.org/github/ElementsProject/lightning/jobs/711777073#L7957 Mh, I'm losing sometings |
This is perfect, I was just writing the exact same thing! Your only mistake was that new arguments need to go at the end, and the documentation needs updating. I've split combined our work and split your patches into three... |
fdedf0d
to
20ccd24
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would have ACK, but we need better docs.
Also,
|
[Separated into separate commit by RR]
20ccd24
to
9de3035
Compare
Fixed the CI error, also added necessary documentation by copying from |
And document the partid arg. Signed-off-by: Rusty Russell <[email protected]> Changelog-Added: JSON-RPC: `sendonion` has a new optional `bolt11` argument for when it's used to pay an invoice.
9de3035
to
b05788d
Compare
Hi all, thanks for fixing my mistakes and sorry if I lost to update the documentation, the next time I will pay more attention to it. In addition, I'm looking inside the travis log and I still see these errors inside the test unit. Any idea about the problem that caused it? |
Are you referring to the valgrind errors here:
This means that on line I added a small fixup that sets it to |
Ops! Thanks for fix my mistake @cdecker the next time I will try to use more attention before to open a PR, sorry |
No problem at all, these things need time to get a hang of, so I thought I'd give you pointers on how to identify them in the future :-) |
…ay`) [ Extracted into standalone patch and comment added by RR ]
Rebased, and will merge as soon as CI gives the all-clear. ACK 8163cea |
This PR proposed a solution to fix the problem mentioned at the following PR #3876
I can have some idea bug in my mind, so if this PR is wrong, I'm so sorry.
The json below is an example of use cases when I used the command keysend and pay (json_paymod).