Skip to content

Commit b964aca

Browse files
committed
remove missed response.preamble().get_canonical_stacks_tip_height() assert
1 parent 35f7651 commit b964aca

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

stackslib/src/net/api/tests/getattachmentsinv.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,6 @@ fn test_try_make_response() {
110110
std::str::from_utf8(&response.try_serialize().unwrap()).unwrap()
111111
);
112112

113-
assert_eq!(
114-
response.preamble().get_canonical_stacks_tip_height(),
115-
Some(1)
116-
);
117-
118113
let resp = response.decode_atlas_attachments_inv_response().unwrap();
119114

120115
// there should be a bit set in the inventory vector
@@ -128,11 +123,6 @@ fn test_try_make_response() {
128123
"Response:\n{}\n",
129124
std::str::from_utf8(&response.try_serialize().unwrap()).unwrap()
130125
);
131-
132-
assert_eq!(
133-
response.preamble().get_canonical_stacks_tip_height(),
134-
Some(1)
135-
);
136126
let resp = response.decode_atlas_attachments_inv_response().unwrap();
137127

138128
// this is a HTTP 200, but no bits are set

0 commit comments

Comments
 (0)