aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/net.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rpc/net.cpp')
-rw-r--r--src/rpc/net.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp
index d430087358..f1fa11b986 100644
--- a/src/rpc/net.cpp
+++ b/src/rpc/net.cpp
@@ -362,7 +362,6 @@ static RPCHelpMan addconnection()
throw std::runtime_error("addconnection is for regression testing (-regtest mode) only.");
}
- RPCTypeCheck(request.params, {UniValue::VSTR, UniValue::VSTR});
const std::string address = request.params[0].get_str();
const std::string conn_type_in{TrimString(request.params[1].get_str())};
ConnectionType conn_type{};