From 12217827458c70ee8deeb69f615d3c4af2a21f43 Mon Sep 17 00:00:00 2001 From: dynco-nym <173912580+dynco-nym@users.noreply.github.com> Date: Mon, 19 Jan 2026 18:36:42 +0100 Subject: [PATCH] CLI arg validation --- nym-gateway-probe/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nym-gateway-probe/src/lib.rs b/nym-gateway-probe/src/lib.rs index 22a6aa74ff..d8992617ee 100644 --- a/nym-gateway-probe/src/lib.rs +++ b/nym-gateway-probe/src/lib.rs @@ -1682,6 +1682,9 @@ async fn do_socks5_connectivity_test( "Starting SOCKS5 test through Network Requester: {}", network_requester_address ); + if json_rpc_endpoints.is_empty() { + bail!("You need to define JSON RPC URLs in order to test SOCKS5") + } let mut results = Socks5ProbeResults::default();