diff options
| author | Han Lin Yap <[email protected]> | 2011-07-30 19:58:22 +0300 |
|---|---|---|
| committer | Han Lin Yap <[email protected]> | 2011-07-30 19:58:22 +0300 |
| commit | 8c2143d4d892fa806f98cf55565757b4aa3bf6a7 (patch) | |
| tree | 7c3755cd200d70142acf467eee581fd6265cde05 /src/rpc.cpp | |
| parent | Merge pull request #436 from TheBlueMatt/master (diff) | |
| download | discoin-8c2143d4d892fa806f98cf55565757b4aa3bf6a7.tar.xz discoin-8c2143d4d892fa806f98cf55565757b4aa3bf6a7.zip | |
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]); |