15 lines
965 B
Diff
15 lines
965 B
Diff
# must fail: live_edge_reanchored live_edge_reanchored_skipping
|
|
# past the bound, every revision refused, so the client is wedged (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..cd1d8dea 100644
|
|
--- a/wai/wai-rs/src/http_binding/playlist_receipt.rs
|
|
+++ b/wai/wai-rs/src/http_binding/playlist_receipt.rs
|
|
@@ -236,7 +236,7 @@ impl LiveChain {
|
|
// §8.6: past the bound, a revision ahead of the head (more segments
|
|
// complete) re-anchors the chain, its bindings kept; one that is not
|
|
// ahead is refused, so a stale or older revision never rolls it back.
|
|
- if last_segment(cur) <= last_segment(head) {
|
|
+ if true || last_segment(cur) <= last_segment(head) {
|
|
return Err(ReceiptError::WalkExceeded);
|
|
}
|
|
let mut b = self.bindings.clone();
|