# must fail: head_proof_ok_O3 fetch_O3_low # the content hash loses its domain (jwp_hash::content_hash) diff --git a/wai/wai-rs/src/jwp_hash.rs b/wai/wai-rs/src/jwp_hash.rs index d20bc358..f773f1fd 100644 --- a/wai/wai-rs/src/jwp_hash.rs +++ b/wai/wai-rs/src/jwp_hash.rs @@ -13,7 +13,6 @@ pub const DOMAIN_OBJECT: &[u8] = b"moq-jwp:object\x01"; /// followed by the envelope bytes. pub fn content_hash(envelope_bytes: &[u8]) -> [u8; 32] { let mut h = blake3::Hasher::new(); - h.update(DOMAIN_OBJECT); h.update(envelope_bytes); *h.finalize().as_bytes() }