Log the spy node id by default for better debug (#3796)

This commit is contained in:
Michael Vines 2019-04-15 20:58:37 -07:00 committed by GitHub
parent 9293a54234
commit d77359914f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -69,11 +69,7 @@ pub fn discover(
let (gossip_service, spy_ref) = make_spy_node(gossip_addr, &exit);
let id = spy_ref.read().unwrap().keypair.pubkey();
info!("Gossip entry point: {:?}", gossip_addr);
trace!(
"discover: spy_node {} looking for at least {:?} nodes",
id,
num_nodes
);
info!("Spy node id: {:?}", id);
let (met_criteria, secs, tvu_peers) = spy(spy_ref.clone(), num_nodes, timeout, find_node);