fix net_utils rs

This commit is contained in:
Rostyslav Tyshko 2025-04-18 08:15:11 -04:00
parent c617fcc6e4
commit 3921841630

View File

@ -16,6 +16,8 @@ use super::JsonHandler;
pub const SHUTDOWN_TIMEOUT_SECS: u64 = 10;
pub const NETWORK: &str = "network";
fn rpc_handler(
message: web::Json<Message>,
handler: web::Data<JsonHandler>,
@ -51,7 +53,7 @@ pub fn new_http_server(
polling_config,
limits_config,
} = config;
info!(target:"network", "Starting http server at {}", addr);
info!(target:NETWORK, "Starting http server at {}", addr);
let handler = web::Data::new(JsonHandler {
polling_config,
sequencer_state: seuquencer_core.clone(),