Mercurial > hg > bitcoin
changeset 574:d927631584a3 draft
listtransactions number-of-params check was wrong.
author | Gavin Andresen <gavinandresen@gmail.com> |
---|---|
date | Mon, 09 May 2011 14:03:54 -0400 |
parents | 8b3f8f5d5c86 |
children | 9d8d226fe556 |
files | rpc.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rpc.cpp +++ b/rpc.cpp @@ -1081,7 +1081,7 @@ 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].");