git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c0430f4
)
listtransactions number-of-params check was wrong.
author
Gavin Andresen
<gavinandresen@gmail.com>
Mon, 9 May 2011 18:03:54 +0000 (14:03 -0400)
committer
Gavin Andresen
<gavinandresen@gmail.com>
Mon, 9 May 2011 18:03:54 +0000 (14:03 -0400)
rpc.cpp
patch
|
blob
|
history
diff --git
a/rpc.cpp
b/rpc.cpp
index
d6a92b3
..
f950383
100644
(file)
--- 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].");