about summary refs log tree commit diff
path: root/tvix/store/src/pathinfoservice
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/store/src/pathinfoservice')
-rw-r--r--tvix/store/src/pathinfoservice/grpc.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tvix/store/src/pathinfoservice/grpc.rs b/tvix/store/src/pathinfoservice/grpc.rs
index db9fd63366ea..c98a89c4b8e7 100644
--- a/tvix/store/src/pathinfoservice/grpc.rs
+++ b/tvix/store/src/pathinfoservice/grpc.rs
@@ -97,7 +97,7 @@ impl PathInfoService for GRPCPathInfoService {
                 let path_info = grpc_client
                     .get(proto::GetPathInfoRequest {
                         by_what: Some(proto::get_path_info_request::ByWhat::ByOutputHash(
-                            digest.to_vec(),
+                            digest.to_vec().into(),
                         )),
                     })
                     .await?
@@ -154,6 +154,7 @@ impl PathInfoService for GRPCPathInfoService {
 
         let nar_sha256: [u8; 32] = resp
             .nar_sha256
+            .to_vec()
             .try_into()
             .map_err(|_e| crate::Error::StorageError("invalid digest length".to_string()))?;