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

JS demo returns Error while adding chain: Error: Data error #2523

Closed
wirednkod opened this issue Jul 18, 2022 · 2 comments · Fixed by #2532
Closed

JS demo returns Error while adding chain: Error: Data error #2523

wirednkod opened this issue Jul 18, 2022 · 2 comments · Fixed by #2532

Comments

@wirednkod
Copy link
Contributor

When running the demo, it is always returned:

Error while adding chain: Error: Data error

This seems to be coming from the tiny-inflate and specifically from here that returns an error due to invalid length

@tomaka
Copy link
Contributor

tomaka commented Jul 19, 2022

This should only happen if you had cloned the repo before #2506 and didn't run prepare.mjs since then

@tomaka
Copy link
Contributor

tomaka commented Jul 19, 2022

Managed to reproduce. Have no idea what the problem is. Decoding the base64 and re-inflating the buffer within prepare.mjs using zlib works fine.

I'll restore pako after #2522

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 a pull request may close this issue.

2 participants