Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix compilation in certain cases.
  • Loading branch information
eskimor committed Feb 2, 2021
commit 479b15a783ffd79407a95842936b6c1b4c28c3e9
4 changes: 4 additions & 0 deletions client/network/src/request_responses.rs
Original file line number Diff line number Diff line change
Expand Up @@ -950,6 +950,7 @@ mod tests {
protocol_name,
b"this is a request".to_vec(),
sender,
false,
);
assert!(response_receiver.is_none());
response_receiver = Some(receiver);
Expand Down Expand Up @@ -1038,6 +1039,7 @@ mod tests {
protocol_name,
b"this is a request".to_vec(),
sender,
false,
);
assert!(response_receiver.is_none());
response_receiver = Some(receiver);
Expand Down Expand Up @@ -1180,12 +1182,14 @@ mod tests {
protocol_name_1,
b"this is a request".to_vec(),
sender_1,
false,
);
swarm_1.send_request(
&peer_id,
protocol_name_2,
b"this is a request".to_vec(),
sender_2,
false,
);
assert!(response_receivers.is_none());
response_receivers = Some((receiver_1, receiver_2));
Expand Down