Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit e7852a2

Browse files
committed
Printlns for CI debugging
1 parent 2ee20de commit e7852a2

File tree

1 file changed

+5
-1
lines changed
  • client/network/src/protocol/generic_proto/handler

1 file changed

+5
-1
lines changed

client/network/src/protocol/generic_proto/handler/group.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,11 +722,13 @@ impl ProtocolsHandler for NotifsHandler {
722722

723723
match &mut self.state {
724724
State::Open { .. } => {
725+
println!("is open");
725726
self.state = State::Closed {
726727
pending_opening: Vec::new(),
727728
};
728729
},
729730
State::Opening { out_substreams, .. } => {
731+
println!("is opening");
730732
let pending_opening = out_substreams.iter().map(|s| s.is_none()).collect();
731733
self.state = State::Closed {
732734
pending_opening,
@@ -737,11 +739,13 @@ impl ProtocolsHandler for NotifsHandler {
737739
));
738740
},
739741
State::OpenDesired { pending_opening, .. } => {
742+
println!("is opendesired");
740743
self.state = State::Closed {
741744
pending_opening: mem::replace(pending_opening, Vec::new()),
742745
};
743746
}
744-
State::Closed { .. } => {},
747+
State::Closed { .. } => {
748+
println!("is closed");},
745749
}
746750

747751
self.events_queue.push_back(

0 commit comments

Comments
 (0)