Skip to content

offers: fix crash when receiving response to offer without offer_issuser_id - #7525

Merged
ShahanaFarooqui merged 1 commit into
ElementsProject:masterfrom
rustyrussell:offer-crash-fix
Aug 7, 2024
Merged

ShahanaFarooqui merged 1 commit into
ElementsProject:masterfrom
rustyrussell:offer-crash-fix

Conversation

@rustyrussell

Copy link
Copy Markdown
Collaborator

Now we actually check the other fields too, as per BOLT!

Reported-by: https://github.com/hMsats
Fixes: #7513

@rustyrussell rustyrussell added this to the v24.08 milestone Aug 5, 2024

@vincenzopalazzo vincenzopalazzo left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ACK 9de4619

Guessing that it need just a rebase on master?

FAILED tests/test_pay.py::test_offer_experimental_fields - AssertionError: Regex pattern did not match.
 Regex: 'Unknown offer'
 Input: "RPC call failed: method: fetchinvoice, payload: ('lno1qgsqvgnwgcg35z6ee2h3yczraddm72xrfua9uve2rlrm9deu7xyfzrcgqypq59r5v4ehghm0venx2ujlwpshg6zlwdjkceskyypxdeze35wncs2l2u4gfzyrpds00e6yakfrt6ctrw5n9qanzhqr2x878wdv5qgpqq',), error: {'code': 1005, 'message': 'Timeout waiting for response'}"

@niftynei niftynei left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ACK 3007dfc

@ShahanaFarooqui
ShahanaFarooqui merged commit 8dbc1c5 into ElementsProject:master Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using fetchinvoice on a Phoenix Bolt12 offer crashes CLN

4 participants