Skip to content

Add runtime datatype check for key#31

Open
claytoneast wants to merge 2 commits intodcposch:masterfrom
claytoneast:add_runtime_datatype_check_for_key
Open

Add runtime datatype check for key#31
claytoneast wants to merge 2 commits intodcposch:masterfrom
claytoneast:add_runtime_datatype_check_for_key

Conversation

@claytoneast
Copy link

Ran into an issue where my hashing values were off, and I hadn't realized that the key needed to be a Uint8. I was just passing a string, and the function ran fine, but was obviously wrong.

Added two quick runtime checks & tests to make sure this can't happen to someone else.

Thanks!

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.

1 participant