Fix assertion failure
This commit is contained in:
parent
e19c90fc6b
commit
d3cd0f5856
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue