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

fixes for issues #57 and #74 #80

Merged
merged 2 commits into from Dec 17, 2017
Merged

fixes for issues #57 and #74 #80

merged 2 commits into from Dec 17, 2017

Conversation

catbref
Copy link
Collaborator

@catbref catbref commented Dec 17, 2017

Better handing of the transaction mentioned in issue #57 which is also related to issue #74

This is all in utils/StorageUtils.java:

The previous code for extracting data for name storage from transaction JSON blindly assumed the data would be a string-encapsulated JSONObject.
Also this code was duplicated in various places.

Now this has been refactored into one place: getDataByKey()
This function is more permissive in that it allows optional string encapsulation but also more restrictive in that it will return null if the data is not suitable.

This should help with issues #57 and #74.

Other functions in the same file have been tidied up.

+ version bump as this has been blocking many users from using client (unless they wipe database)
@catbref catbref merged commit d66b78a into Qoracoin:master Dec 17, 2017
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.

None yet

1 participant