From a0840ded3d8ea3718931c44f0769c16c783fcc5f Mon Sep 17 00:00:00 2001 From: aglkm <39521015+aglkm@users.noreply.github.com> Date: Sun, 15 Mar 2026 18:39:15 +0300 Subject: [PATCH] typo --- src/requests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/requests.rs b/src/requests.rs index d03e7c0..f9de793 100644 --- a/src/requests.rs +++ b/src/requests.rs @@ -159,7 +159,7 @@ pub async fn get_connected_peers(dashboard: Arc>, statistics: A match call_external("get_connected_peers", "[]", "1", "owner", endpoint).await { Ok(resp) => { if resp != Value::Null { - if resp1["result"]["Ok"].is_null() == false { + if resp["result"]["Ok"].is_null() == false { for peer in resp["result"]["Ok"].as_array().unwrap() { // Collecting user_agent nodes stats if !addrs.contains(&peer["addr"].to_string()) {