Fix assertion failure

This commit is contained in:
Eelco Dolstra 2016-07-21 18:39:32 +02:00
parent e19c90fc6b
commit d3cd0f5856

View file

@ -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);