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

Fix parsing encoded invoice #45

Merged
merged 1 commit into from
May 15, 2024
Merged

Fix parsing encoded invoice #45

merged 1 commit into from
May 15, 2024

Conversation

yellowred
Copy link
Contributor

Encoded invoice value should be without quotation marks to be able to pass to pay_invoice. In order for that it should be converted to Rust String type using .as_str(). See serde readme for more details.

Encoded invoice value should be without quotation marks to be able to pass to pay_invoice.
In order for that it should be converted to Rust String type using `.as_str()`.
See serde readme for more details.
@yellowred yellowred requested a review from zhenlu May 15, 2024 17:51
@yellowred yellowred merged commit b2d5c30 into main May 15, 2024
1 check passed
@yellowred yellowred deleted the bug/encode_invoice branch May 15, 2024 18:11
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