aboutsummaryrefslogtreecommitdiff
path: root/rpc.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-05-09 14:03:54 -0400
committerGavin Andresen <gavinandresen@gmail.com>2011-05-09 14:03:54 -0400
commit59d18adc4c2aaa5f24882e6c0cbeb43b47d80a80 (patch)
tree4702740a573ed5e0c1d21e3304ea0d8030d6fd03 /rpc.cpp
parentc0430f42b868dbf996a416d3a9d81d1c8c07e47c (diff)
listtransactions number-of-params check was wrong.
Diffstat (limited to 'rpc.cpp')
-rw-r--r--rpc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc.cpp b/rpc.cpp
index d6a92b3463..f95038303a 100644
--- a/rpc.cpp
+++ b/rpc.cpp
@@ -1081,7 +1081,7 @@ void AcentryToJSON(const CAccountingEntry& acentry, const string& strAccount, Ar
Value listtransactions(const Array& params, bool fHelp)
{
- if (fHelp || params.size() > 2)
+ if (fHelp || params.size() > 3)
throw runtime_error(
"listtransactions [account] [count=10] [from=0]\n"
"Returns up to [count] most recent transactions skipping the first [from] transactions for account [account].");