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

invoices+rpc: add missing channel graph to the AddInvoiceConfig #4978

Merged
merged 1 commit into from
Feb 3, 2021

Conversation

bhandras
Copy link
Collaborator

@bhandras bhandras commented Feb 3, 2021

AddHodlInvoice as copying AddInvoiceConfig, leaving out the Graph member which later on resulted in a nil pointer reference.

@bhandras bhandras requested review from halseth and guggero February 3, 2021 10:05
The Graph which is referenced later in the AddInvoice call graph is
unset when adding a hodl invoice. This resulted in a crash.
@bhandras bhandras requested review from carlaKC and removed request for guggero February 3, 2021 10:38
Copy link
Contributor

@halseth halseth left a comment

Choose a reason for hiding this comment

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

👍

@halseth halseth closed this Feb 3, 2021
@halseth halseth reopened this Feb 3, 2021
@halseth halseth merged commit 1a9fd09 into lightningnetwork:master Feb 3, 2021
@halseth halseth added the v0.12.1 label Feb 3, 2021
@cfromknecht cfromknecht mentioned this pull request Feb 4, 2021
@bhandras bhandras deleted the addinvoice_crash branch September 12, 2023 15:25
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.

3 participants