Merge #8512: Trivial: Corrected JSON typo on setban of net.cpp

6ffd996 Corrected JSON typo on setban of net.cpp (Sev)
This commit is contained in:
Wladimir J. van der Laan 2016-08-17 12:01:38 +02:00 committed by Alexander Block
parent bdddabb3cf
commit 5c928f0052

View File

@ -480,7 +480,7 @@ UniValue setban(const UniValue& params, bool fHelp)
"\nExamples:\n"
+ HelpExampleCli("setban", "\"192.168.0.6\" \"add\" 86400")
+ HelpExampleCli("setban", "\"192.168.0.0/24\" \"add\"")
+ HelpExampleRpc("setban", "\"192.168.0.6\", \"add\" 86400")
+ HelpExampleRpc("setban", "\"192.168.0.6\", \"add\", 86400")
);
if(!g_connman)
throw JSONRPCError(RPC_CLIENT_P2P_DISABLED, "Error: Peer-to-peer functionality missing or disabled");