Browse Source

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

6ffd996 Corrected JSON typo on setban of net.cpp (Sev)
0.14
Wladimir J. van der Laan 8 years ago
parent
commit
29496fc9e0
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/rpc/net.cpp

2
src/rpc/net.cpp

@ -484,7 +484,7 @@ UniValue setban(const UniValue& params, bool fHelp) @@ -484,7 +484,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")
);
CSubNet subNet;

Loading…
Cancel
Save