From: Han Lin Yap Date: Sat, 30 Jul 2011 16:58:22 +0000 (+0300) Subject: Comment "deprecated" X-Git-Tag: v0.4.0-unstable~227^2~71^2 X-Git-Url: https://git.novaco.in/?a=commitdiff_plain;h=8c2143d4d892fa806f98cf55565757b4aa3bf6a7;p=novacoin.git Comment "deprecated" --- diff --git a/src/rpc.cpp b/src/rpc.cpp index 92096b4..21ef990 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -1742,7 +1742,7 @@ string pAllowInSafeMode[] = "getinfo", "getnewaddress", "getaccountaddress", - "setlabel", + "setlabel", // deprecated "getaccount", "getlabel", // deprecated "getaddressesbyaccount", @@ -2373,7 +2373,7 @@ int CommandLineRPC(int argc, char *argv[]) if (strMethod == "getreceivedbyaccount" && n > 1) ConvertTo(params[1]); if (strMethod == "getreceivedbylabel" && n > 1) ConvertTo(params[1]); // deprecated if (strMethod == "getallreceived" && n > 0) ConvertTo(params[0]); // deprecated - if (strMethod == "getallreceived" && n > 1) ConvertTo(params[1]); + if (strMethod == "getallreceived" && n > 1) ConvertTo(params[1]); // deprecated if (strMethod == "listreceivedbyaddress" && n > 0) ConvertTo(params[0]); if (strMethod == "listreceivedbyaddress" && n > 1) ConvertTo(params[1]); if (strMethod == "listreceivedbyaccount" && n > 0) ConvertTo(params[0]);