mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 15:26:17 +02:00
Fix assertion failure
This commit is contained in:
parent
e19c90fc6b
commit
d3cd0f5856
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ const string base32Chars = "0123456789abcdfghijklmnpqrsvwxyz";
|
||||||
|
|
||||||
string printHash32(const Hash & hash)
|
string printHash32(const Hash & hash)
|
||||||
{
|
{
|
||||||
assert(hash.type != htUnknown);
|
assert(hash.hashSize);
|
||||||
size_t len = hash.base32Len();
|
size_t len = hash.base32Len();
|
||||||
assert(len);
|
assert(len);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue