Skip to content
Snippets Groups Projects
Commit d3cd0f58 authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

Fix assertion failure

parent e19c90fc
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,7 @@ const string base32Chars = "0123456789abcdfghijklmnpqrsvwxyz";
string printHash32(const Hash & hash)
{
assert(hash.type != htUnknown);
assert(hash.hashSize);
size_t len = hash.base32Len();
assert(len);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment