Skip to content

Commit

Permalink
revert lint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vmarkushin committed Dec 20, 2023
1 parent 2254549 commit cd422e0
Show file tree
Hide file tree
Showing 4 changed files with 291 additions and 291 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: rustup show

- name: Cargo fmt
run: cargo +stable fmt --all -- --check
run: cargo +nightly fmt --all -- --check

- uses: actions-rs/cargo@v1
name: "Udeps Installation"
Expand Down
6 changes: 3 additions & 3 deletions hyperspace/core/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,14 +363,14 @@ impl QueryPacketsCmd {
} else {
println!("Packet {sequence} was not acknowledged on {name_a}");
}
continue;
continue
}
let sent_packets = chain_a
.query_send_packets(channel_id.clone(), port_id.clone(), vec![sequence])
.await?;
if sent_packets.is_empty() {
println!("Packet {sequence} not found");
continue;
continue
}
for packet_info in sent_packets {
let seq = packet_info.sequence;
Expand All @@ -385,7 +385,7 @@ impl QueryPacketsCmd {
.pop();
if received.is_none() {
println!("Packet {seq} ({name_a}->{name_b}) was not received");
continue;
continue
}

println!("Received packet {seq} ({name_a}->{name_b}) {received:?}");
Expand Down
Loading

0 comments on commit cd422e0

Please sign in to comment.