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

Commit

Permalink
Properly log when we discard a sync response (#5969)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaka authored May 11, 2020
1 parent 2995575 commit d272ead
Showing 1 changed file with 4 additions and 0 deletions.
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

0 comments on commit d272ead

Please sign in to comment.