mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-23 08:32:23 +03:00
comment out prints
This commit is contained in:
parent
200cbb39af
commit
f4b446aed6
@ -347,14 +347,14 @@ fn handle_log(our: &Address, state: &mut State, log: ð::Log) -> anyhow::Resul
|
||||
node.routers = vec![];
|
||||
};
|
||||
}
|
||||
other => {
|
||||
println!("unknown note: {other}");
|
||||
_other => {
|
||||
// println!("unknown note: {other}");
|
||||
}
|
||||
}
|
||||
node_name
|
||||
}
|
||||
_ => {
|
||||
println!("unknown log: {log:?}");
|
||||
_log => {
|
||||
// println!("unknown log: {log:?}");
|
||||
return Ok(());
|
||||
}
|
||||
};
|
||||
@ -371,7 +371,6 @@ fn handle_log(our: &Address, state: &mut State, log: ð::Log) -> anyhow::Resul
|
||||
&& ((!node_info.ips.is_empty() && !node_info.ports.is_empty())
|
||||
|| node_info.routers.len() > 0)
|
||||
{
|
||||
println!("sending update for {node_name}: {node_info:?}");
|
||||
return Request::new()
|
||||
.target((&our.node, "net", "distro", "sys"))
|
||||
.body(rmp_serde::to_vec(&net::NetAction::KnsUpdate(
|
||||
@ -380,8 +379,6 @@ fn handle_log(our: &Address, state: &mut State, log: ð::Log) -> anyhow::Resul
|
||||
.send();
|
||||
}
|
||||
}
|
||||
|
||||
println!("**not** sending update for {node_name}");
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user