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

rawdb: Database Version must be unsigned integer #18233

Closed
moonfruit opened this issue Dec 3, 2018 · 0 comments
Closed

rawdb: Database Version must be unsigned integer #18233

moonfruit opened this issue Dec 3, 2018 · 0 comments
Assignees

Comments

@moonfruit
Copy link

rawdb write database version as int. It is wrong because of rlp can only handle unsigned integer.
line 40 in accessors_metadata.go actually produced an error, but it ignored. This bug makes database version checking not work.

enc, _ := rlp.EncodeToBytes(version)

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