aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-07-31 16:56:56 -0700
committerGavin Andresen <gavinandresen@gmail.com>2011-07-31 16:56:56 -0700
commit93262341095d464d6cd82113f47c94265e97d757 (patch)
tree7c3755cd200d70142acf467eee581fd6265cde05 /src
parente1f13129e89f46df631f9523eea4c0e0448c9b7b (diff)
parent8c2143d4d892fa806f98cf55565757b4aa3bf6a7 (diff)
Merge pull request #437 from codler/patch-2
Comment "deprecated"
Diffstat (limited to 'src')
-rw-r--r--src/rpc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc.cpp b/src/rpc.cpp
index 92096b460f..21ef990f05 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<boost::int64_t>(params[1]);
if (strMethod == "getreceivedbylabel" && n > 1) ConvertTo<boost::int64_t>(params[1]); // deprecated
if (strMethod == "getallreceived" && n > 0) ConvertTo<boost::int64_t>(params[0]); // deprecated
- if (strMethod == "getallreceived" && n > 1) ConvertTo<bool>(params[1]);
+ if (strMethod == "getallreceived" && n > 1) ConvertTo<bool>(params[1]); // deprecated
if (strMethod == "listreceivedbyaddress" && n > 0) ConvertTo<boost::int64_t>(params[0]);
if (strMethod == "listreceivedbyaddress" && n > 1) ConvertTo<bool>(params[1]);
if (strMethod == "listreceivedbyaccount" && n > 0) ConvertTo<boost::int64_t>(params[0]);