diff options
| author | Gavin Andresen <[email protected]> | 2011-07-31 16:56:56 -0700 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2011-07-31 16:56:56 -0700 |
| commit | 93262341095d464d6cd82113f47c94265e97d757 (patch) | |
| tree | 7c3755cd200d70142acf467eee581fd6265cde05 /src/rpc.cpp | |
| parent | Merge pull request #436 from TheBlueMatt/master (diff) | |
| parent | Comment "deprecated" (diff) | |
| download | discoin-93262341095d464d6cd82113f47c94265e97d757.tar.xz discoin-93262341095d464d6cd82113f47c94265e97d757.zip | |
Merge pull request #437 from codler/patch-2
Comment "deprecated"
Diffstat (limited to 'src/rpc.cpp')
| -rw-r--r-- | src/rpc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc.cpp b/src/rpc.cpp index 92096b460..21ef990f0 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]); |