diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-07-10 18:55:24 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-07-13 16:26:09 +0200 |
commit | 400f1a9b59d95861b4dd171c45e2dc6cf263ab99 (patch) | |
tree | fe2247140991e2c084c31d8890737dec248b340a | |
parent | c0dd05131e08102d560a737ff68c66bc8314f5fa (diff) |
Store::pathInfoToJSON(): Use consistent format for downloadHash
-rw-r--r-- | src/libstore/store-api.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc index e67f4e359..bc3fafa35 100644 --- a/src/libstore/store-api.cc +++ b/src/libstore/store-api.cc @@ -556,7 +556,7 @@ void Store::pathInfoToJSON(JSONPlaceholder & jsonOut, const StorePathSet & store if (!narInfo->url.empty()) jsonPath.attr("url", narInfo->url); if (narInfo->fileHash) - jsonPath.attr("downloadHash", narInfo->fileHash.to_string(Base32, true)); + jsonPath.attr("downloadHash", narInfo->fileHash.to_string(hashBase, true)); if (narInfo->fileSize) jsonPath.attr("downloadSize", narInfo->fileSize); if (showClosureSize) |