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

chore: update invoice functions to match NIP-46 extensions spec, fix optional transaction fields #196

Merged
merged 3 commits into from
Dec 18, 2023

Conversation

rolznz
Copy link
Contributor

@rolznz rolznz commented Dec 18, 2023

No description provided.

@rolznz rolznz requested review from bumi and im-adithya December 18, 2023 12:59
alby.go Outdated
Invoice: invoice.PaymentRequest,
Description: description,
DescriptionHash: invoice.DescriptionHash,
Preimage: invoice.Preimage,
Copy link
Contributor

Choose a reason for hiding this comment

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

can we always return the preimage? or are there cases where the preimage should not be returned (e.g. when the payment is not settled.)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

lnd.go Show resolved Hide resolved
@rolznz rolznz merged commit 92fc7da into task-list-invoices Dec 18, 2023
2 checks passed
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