From 096b508b2400e202f9a4793df2cc5282b9f77c1a Mon Sep 17 00:00:00 2001 From: Yiannis Marangos Date: Sat, 16 Sep 2023 01:07:39 +0300 Subject: [PATCH] add comment --- node/src/exchange/client.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/node/src/exchange/client.rs b/node/src/exchange/client.rs index a99f4e79..ae9d50d8 100644 --- a/node/src/exchange/client.rs +++ b/node/src/exchange/client.rs @@ -650,6 +650,7 @@ mod tests { let expected = gen_header_response(5); let expected_header = expected.to_extended_header().unwrap(); + // all headers have height = 5 but different hash mock_req.send_n_responses(&mut handler, 1, vec![gen_header_response(5)]); mock_req.send_n_responses(&mut handler, 2, vec![gen_header_response(5)]); mock_req.send_n_responses(&mut handler, 1, vec![gen_header_response(5)]);