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

make blinded messages in melt optional #298

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

elnosh
Copy link
Contributor

@elnosh elnosh commented Jun 12, 2024

Changed the PostMeltBolt11Request struct to have optional outputs instead of required. Mint would throw an error if it received a melt request without the outputs field but it shouldn't since that field is optional from NUT-08

@ngutech21
Copy link
Owner

Thanks for your contribution @elnosh. This is interesting, the nut states that outputs are required, but since this nut is optional it could lead to problems if the wallet does not support nut-8. Is this what you are testing? Requesting a melt with a wallet that does not suuport fee returns?

@elnosh
Copy link
Contributor Author

elnosh commented Jun 18, 2024

since this nut is optional it could lead to problems if the wallet does not support nut-8. Is this what you are testing? Requesting a melt with a wallet that does not suuport fee returns?

yes, that was what I was testing. Melt requests from wallets that don't do nut-08 will fail

@ngutech21 ngutech21 merged commit d78bdde into ngutech21:master Jun 20, 2024
11 of 12 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