Skip to content

Fix payer proofs to match latest spec#9144

Open
rustyrussell wants to merge 4 commits into
ElementsProject:masterfrom
rustyrussell:guilt/fix-payer-proofs
Open

Fix payer proofs to match latest spec#9144
rustyrussell wants to merge 4 commits into
ElementsProject:masterfrom
rustyrussell:guilt/fix-payer-proofs

Conversation

@rustyrussell
Copy link
Copy Markdown
Contributor

@rustyrussell rustyrussell commented May 19, 2026

(This is experimental, so can slip into the release process if needed during RCs).

This matches the latest spec, and @t-bast confirmed they agree with the test vectors! FULL STEAM AHEAD

Changelog-None: it's experimental already, and new in this release.

It's now optional, so make it NULL here.

Reported-by: @t-bast
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Calculate proof_merkle_root properly: we accidentally printed the
`invoice_merkle_root` again here.

Reported-by: @t-bast.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Spec simplification suggested by @t-bast.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
@rustyrussell rustyrussell added this to the v26.06 milestone May 19, 2026
@rustyrussell rustyrussell marked this pull request as ready for review May 20, 2026 06:23
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.

1 participant