Created
January 31, 2019 22:10
-
-
Save gauthamzz/c2f786595baeca996b71ee6f5ec44de1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def query(self, req): | |
value = self.state.db.get(prefix_key(req.data)) | |
return ResponseQuery(code=CodeTypeOk, value=value) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment