Skip to content

rebalance, feeadjuster, drain, jitrebalance: fix for next release.#276

Merged
rustyrussell merged 4 commits intolightningd:masterfrom
rustyrussell:fix-rebalance
Jul 23, 2021
Merged

rebalance, feeadjuster, drain, jitrebalance: fix for next release.#276
rustyrussell merged 4 commits intolightningd:masterfrom
rustyrussell:fix-rebalance

Conversation

@rustyrussell
Copy link
Copy Markdown
Collaborator

We now insist on payment_secret, so rebalance fails!

We now insist on payment_secret, so rebalance fails!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
@rustyrussell rustyrussell requested a review from gallizoltan July 23, 2021 07:30
@m-schmoock
Copy link
Copy Markdown
Member

Thanks, we also need to apply this for: drain, feeadjuster (tests), jitrebalance and probe.

@m-schmoock m-schmoock self-requested a review July 23, 2021 11:19
Copy link
Copy Markdown
Member

@m-schmoock m-schmoock left a comment

Choose a reason for hiding this comment

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

tACK d96e84f

Successfully tested with versions lower and higher than ElementsProject/lightning@3f5d5a1de that have and have not the paymanet_secret in the invoice. This works for both because payment_secret is an optional parameter for sendpay and can be (intentionally) None if it was not contained in the invoice before.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
…ecret

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
…secret

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
@rustyrussell
Copy link
Copy Markdown
Collaborator Author

rustyrussell commented Jul 23, 2021

Good catch, did those too!

AFAICT, probes always use made up payment_hashes anyway though...

@rustyrussell rustyrussell changed the title rebalance: fix for next release. rebalance, feeadjuster, drain, jitrebalance: fix for next release. Jul 23, 2021
@rustyrussell rustyrussell merged commit 87c9f56 into lightningd:master Jul 23, 2021
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