Skip to content

Commit

Permalink
fix(node): get_closest error not trigger bad_node report
Browse files Browse the repository at this point in the history
  • Loading branch information
maqi authored and RolandSherwin committed Mar 18, 2024
1 parent 3240fe9 commit 7596739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sn_node/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ impl Node {
Ok(peers) => peers,
Err(err) => {
error!("Failed to finding closest_peers to {peer_id:?} client_get_closest_peers errored: {err:?}");
return true;
return false;
}
};

Expand Down

0 comments on commit 7596739

Please sign in to comment.