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

Error parsing create_slatepack_message Owner API from javascript #438

Closed
fungibly opened this issue Jun 13, 2020 · 1 comment
Closed

Error parsing create_slatepack_message Owner API from javascript #438

fungibly opened this issue Jun 13, 2020 · 1 comment

Comments

@fungibly
Copy link

Calling the new create_slatepack_message owner api results in:

{"id":"1","jsonrpc":"2.0","result":{"Ok":"BEGINSLATEPACK. BikBVY4UhC3Nnj4 ... gYgYXNX. ENDSLATEPACK.\n"}}

The trailing "\n" breaks JSON.parse(), can it either be escaped "\\n" or omitted instead?

@yeastplume
Copy link
Member

Thank you for testing and reporting, fix is in #444 and should be available as of beta.3

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

No branches or pull requests

2 participants