Merge pull request #1151 from freewil/listsinceblock-blockhash

listsinceblock: rpc param blockid -> blockhash
This commit is contained in:
Gavin Andresen 2012-04-26 15:37:12 -07:00
commit dfead66eac

View file

@ -1403,8 +1403,8 @@ Value listsinceblock(const Array& params, bool fHelp)
{ {
if (fHelp) if (fHelp)
throw runtime_error( throw runtime_error(
"listsinceblock [blockid] [target-confirmations]\n" "listsinceblock [blockhash] [target-confirmations]\n"
"Get all transactions in blocks since block [blockid], or all transactions if omitted"); "Get all transactions in blocks since block [blockhash], or all transactions if omitted");
CBlockIndex *pindex = NULL; CBlockIndex *pindex = NULL;
int target_confirms = 1; int target_confirms = 1;