Skip to content

Commit

Permalink
Use correct condition for log messages
Browse files Browse the repository at this point in the history
Co-authored-by: Marek <mail@marek.onl>
  • Loading branch information
teor2345 and upbqdn authored Oct 31, 2023
1 parent 9cd8325 commit 3021d22
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions zebrad/src/components/inbound.rs
Original file line number Diff line number Diff line change
Expand Up @@ -414,14 +414,14 @@ impl Service<zn::Request> for Inbound {
// Sometimes we don't know if the peer response will be empty until we've
// sanitized them.
if is_busy {
debug!(
info!(
"ignoring `Peers` request from remote peer because our address \
book has no available peers"
book is busy"
);
} else {
info!(
debug!(
"ignoring `Peers` request from remote peer because our address \
book is busy"
book has no available peers"
);
}

Expand Down

0 comments on commit 3021d22

Please sign in to comment.