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 the "Invalid \uXXXX escape: line 1 column 12665 (char 12664)" #7

Open
HamzaBaniata opened this issue Dec 2, 2021 · 1 comment

Comments

@HamzaBaniata
Copy link
Collaborator

when a miners attempts to synchronize with neighbors, this error appears sometimes and the longer chain is not transmitted. This is caused by a JSON parsing problem or limited encoding of RSA public keys.

related links:

https://bugs.python.org/issue11489
https://stackoverflow.com/questions/59454553/recursively-transform-dict-leaves-in-python

@HamzaBaniata
Copy link
Collaborator Author

This can also be fixed by adding a checker for each newly generated key.. encode it at the new_encryption_module before returning it, if it includes the invalid character, generate another one and check it again..

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

1 participant