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

invoice: don't allow zero-value invoices. #3974

Merged

Conversation

rustyrussell
Copy link
Contributor

You can't pay them anyway, and at least one person used 0 instead of "any".

Closes: #3808
Signed-off-by: Rusty Russell rusty@rustcorp.com.au
Changelog-Changed: JSON-RPC: invoice no longer accepts zero amounts (did you mean "any"?)

You can't pay them anyway, and at least one person used 0 instead of "any".

Closes: ElementsProject#3808
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Changed: JSON-RPC: `invoice` no longer accepts zero amounts (did you mean "any"?)
@rustyrussell rustyrussell added this to the v0.9.1 milestone Aug 25, 2020
Copy link
Collaborator

@niftynei niftynei left a comment

Choose a reason for hiding this comment

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

ACK 4393524

@rustyrussell rustyrussell merged commit ef3fbab into ElementsProject:master Aug 25, 2020
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.

0-value invoices not minimally encoded?
2 participants