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

Properly log when we discard a sync response #5969

Merged
merged 1 commit into from
May 11, 2020
Merged
Changes from all commits
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
4 changes: 4 additions & 0 deletions client/network/src/block_requests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,10 @@ where
} else {
// We remove from `self.peers` requests we're no longer interested in,
// so this can legitimately happen.
log::trace!(
target: "sync",
"Response discarded because it concerns an obsolete request"
);
return;
}
} else {
Expand Down