From 865b24ea00a17cc61cf8bb55499cb384761cb94c Mon Sep 17 00:00:00 2001 From: Konstantin Akimov Date: Thu, 12 Dec 2024 18:14:51 +0700 Subject: [PATCH] feat: hide cleardiscouraged RPC so far as it no intent to use by regular users --- src/rpc/net.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp index 9667a48e98..ffa2e7b0b5 100644 --- a/src/rpc/net.cpp +++ b/src/rpc/net.cpp @@ -1126,10 +1126,10 @@ static const CRPCCommand commands[] = { "network", &setban, }, { "network", &listbanned, }, { "network", &clearbanned, }, - { "network", &cleardiscouraged, }, { "network", &setnetworkactive, }, { "network", &getnodeaddresses, }, + { "hidden", &cleardiscouraged, }, { "hidden", &addconnection, }, { "hidden", &addpeeraddress, }, { "hidden", &sendmsgtopeer },