This commit is contained in:
Carlo Nucera 2020-06-02 16:21:18 -04:00
parent 78f137e931
commit 75d2581390

View file

@ -51,7 +51,7 @@ ContentAddress parseContentAddress(std::string_view rawCa) {
}
return TextHash { hash };
} else if (prefix == "fixed") {
// This has to be an inverse to makeFixedOutputCA
// This has to be an inverse of makeFixedOutputCA
auto methodAndHash = rawCa.substr(prefixSeparator+1, string::npos);
if (methodAndHash.substr(0,2) == "r:") {
std::string_view hashRaw = methodAndHash.substr(2,string::npos);