diff --git a/src/rpcnet.cpp b/src/rpcnet.cpp index bd3609b0c9b..88e7c4ab07f 100644 --- a/src/rpcnet.cpp +++ b/src/rpcnet.cpp @@ -98,8 +98,7 @@ Value getpeerinfo(const Array& params, bool fHelp) " \"syncnode\" : true|false (booleamn) if sync node\n" " }\n" " ,...\n" - "}\n" - + "]\n" "\nExamples:\n" + HelpExampleCli("getpeerinfo", "") + HelpExampleRpc("getpeerinfo", "")