From 7aadd85e19f36a1aaffaa2d1c31c19ed064bd325 Mon Sep 17 00:00:00 2001 From: aglkm <39521015+aglkm@users.noreply.github.com> Date: Thu, 23 May 2024 18:43:38 +0300 Subject: [PATCH] Remove debug prints --- src/main.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 4298fd2..26207b6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -184,7 +184,6 @@ async fn api_owner(data: &str) -> String { _ => return "{\"error\":\"bad syntax\"}".to_string(), }; - println!("{}", method); // Whitelisted methods: get_connected_peer, get_peers, get_status. if method == "get_connected_peers" || method == "get_peers" || method == "get_status" { let resp = requests::call(method, v["params"].to_string().as_str(), "owner").await; @@ -217,7 +216,6 @@ async fn api_foreign(data: &str) -> String { _ => return "{\"error\":\"bad syntax\"}".to_string(), }; - println!("{}", method); let resp = requests::call(method, v["params"].to_string().as_str(), "foreign").await; let result = match resp {