Skip to content

Commit

Permalink
Fix buggy log message (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
emhane authored Mar 4, 2024
1 parent 3c0d3d7 commit 04ac004
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1453,8 +1453,7 @@ impl Service {
let node_id = active_request.contact.node_id();
let addr = active_request.contact.socket_addr();
let received = nodes_response.received_nodes.len();
let expected = distances.len();
warn!(%node_id, %addr, %error, %received, %expected, "FINDNODE request failed with partial results");
warn!(%node_id, %addr, %error, %received, requested_distances=?distances, "FINDNODE request failed with partial results");
// if it's a query mark it as success, to process the partial
// collection of peers
self.discovered(
Expand Down

0 comments on commit 04ac004

Please sign in to comment.