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

Dont ignore first scid for sendpay, sendonion #5505

Conversation

rustyrussell
Copy link
Contributor

@rustyrussell rustyrussell commented Aug 8, 2022

Fixes: #5504

@niftynei Note new Changelog entries!!

This was a legacy from when it was redundant: with multiple channels, it
no longer is!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reported-by: Warren Togami
Changelog-Changed: `sendpay` and `sendonion` now obey the first hop "channel" short_channel_id, if specified.
Changelog-Deprecated: `sendpay` and `sendonion` could take a bogus first hop "channel" short_channel_id
@rustyrussell rustyrussell added this to the v0.12 milestone Aug 8, 2022
@rustyrussell rustyrussell requested a review from cdecker as a code owner August 8, 2022 21:53
Copy link
Collaborator

@nepet nepet left a comment

Choose a reason for hiding this comment

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

Ack a935d2a

…irst_hop channel.

This was always the case, though it was ignored.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
@rustyrussell rustyrussell force-pushed the guilt/sendpay-dont-ignore-first-scid branch from a935d2a to 566ef57 Compare August 8, 2022 22:19
@rustyrussell
Copy link
Contributor Author

I reverted the fix to the sendonion request schema, as that broke the rust stuff...

@nepet
Copy link
Collaborator

nepet commented Aug 9, 2022

Ok, maybe I was too fast before but still, the changes on pay seem good and ci seems to be happy now, so again: Ack 566ef57

@cdecker
Copy link
Member

cdecker commented Aug 9, 2022

ACK 566ef57

Copy link
Contributor

@vincenzopalazzo vincenzopalazzo left a comment

Choose a reason for hiding this comment

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

ACK 566ef57

@niftynei niftynei merged commit fcba09d into ElementsProject:master Aug 9, 2022
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.

json_sendpay() can pick the wrong local channel
5 participants