diff --git a/libsawtooth/src/hashlib.rs b/libsawtooth/src/hashlib.rs index f96cba166..fbe3f612c 100644 --- a/libsawtooth/src/hashlib.rs +++ b/libsawtooth/src/hashlib.rs @@ -27,7 +27,7 @@ pub fn sha256_digest_strs(strs: &[String]) -> Vec { hasher.update(item.as_bytes()); } let mut bytes = Vec::new(); - bytes.extend(hasher.finalize().into_iter()); + bytes.extend(hasher.finalize()); bytes }