15 lines
861 B
Diff
15 lines
861 B
Diff
# must fail: live_edge_parent_substituted
|
|
# a parent fetched by its link not held to it (LiveChain::advance)
|
|
diff --git a/wai/wai-rs/src/http_binding/playlist_receipt.rs b/wai/wai-rs/src/http_binding/playlist_receipt.rs
|
|
index 6fb6141d..7d582b26 100644
|
|
--- a/wai/wai-rs/src/http_binding/playlist_receipt.rs
|
|
+++ b/wai/wai-rs/src/http_binding/playlist_receipt.rs
|
|
@@ -248,7 +248,7 @@ impl LiveChain {
|
|
let bytes = parent(&l).ok_or(ReceiptError::ParentMissing)?;
|
|
let text = std::str::from_utf8(&bytes).map_err(|_| ReceiptError::Malformed("not UTF-8".into()))?;
|
|
let r = ManifestReceipt::from_json(text).map_err(ReceiptError::Malformed)?;
|
|
- if r.receipt_hash() != l {
|
|
+ if false && r.receipt_hash() != l {
|
|
return Err(ReceiptError::NameMismatch);
|
|
}
|
|
if !r.verify() {
|