Fixed bootnode URL and error message

This commit is contained in:
arkpar
2016-04-02 19:01:41 +02:00
parent 4854f6923b
commit 67d04c5952
2 changed files with 2 additions and 2 deletions

View File

@@ -391,7 +391,7 @@ impl<Message> Host<Message> where Message: Send + Sync + Clone {
pub fn add_node(&mut self, id: &str) {
match Node::from_str(id) {
Err(e) => { warn!("Could not add node: {:?}", e); },
Err(e) => { debug!("Could not add node {}: {:?}", id, e); },
Ok(n) => {
let entry = NodeEntry { endpoint: n.endpoint.clone(), id: n.id.clone() };
self.pinned_nodes.push(n.id.clone());