CLI arg validation

This commit is contained in:
dynco-nym
2026-01-19 18:36:42 +01:00
parent 760204fffd
commit 1221782745
+3
View File
@@ -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();