Fix build

This commit is contained in:
Eelco Dolstra
2020-08-07 21:42:09 +02:00
parent 529a003de5
commit 1113c2895a
3 changed files with 3 additions and 3 deletions

View File

@ -452,7 +452,7 @@ void State::buildRemote(ref<Store> destStore,
readLongLong(from); // download size
info.narSize = readLongLong(from);
totalNarSize += info.narSize;
info.narHash = Hash(readString(from), htSHA256);
info.narHash = Hash::parseAny(readString(from), htSHA256);
info.ca = parseContentAddressOpt(readString(from));
readStrings<StringSet>(from); // sigs
infos.insert_or_assign(info.path, info);