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

Stringify the invoice metadata #11

Merged
merged 1 commit into from
Apr 1, 2024
Merged

Conversation

brh28
Copy link

@brh28 brh28 commented Mar 31, 2024

This change fixes the UI metadata validation error described here: lnflash/flash-mobile#133

The issue was caused by the flash-pay server parsing the invoice-requirements before propogating to the UI. In doing so, the format was changed from a string to JSON, which caused a discrepancy from what the UI was in the invoice from Ibex. Converting the JSON back to a string when serializes satisfies this UI condition.

This change has been deployed and tested in the staging environment

Copy link

@islandbitcoin islandbitcoin left a comment

Choose a reason for hiding this comment

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

ACK

@brh28 brh28 merged commit 42fa0dc into lnflash:main Apr 1, 2024
3 checks passed
@brh28 brh28 deleted the bug/send-to-flashapp branch April 1, 2024 16:23
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