fixed bug in interpreting hash

This commit is contained in:
Debanjan Basu 2024-05-19 02:16:37 +10:00
parent fcc9e66106
commit 8c50a9ccea

View File

@ -45,7 +45,7 @@ where
// Check if desired CAPNP_VERSION hash has changed // Check if desired CAPNP_VERSION hash has changed
let mut hasher = Sha256::new(); let mut hasher = Sha256::new();
hasher.update(get_desired_capnp_version_string().as_bytes()); hasher.update(get_desired_capnp_version_string().as_bytes());
let capnp_hash = hex::encode(hasher.finalize()).as_bytes().to_vec(); let capnp_hash = hasher.finalize().to_vec();
let in_bh = make_build_hash(input); let in_bh = make_build_hash(input);