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)
throw runtime_error(
"listsinceblock [blockid] [target-confirmations]\n"
"Get all transactions in blocks since block [blockid], or all transactions if omitted");
"listsinceblock [blockhash] [target-confirmations]\n"
"Get all transactions in blocks since block [blockhash], or all transactions if omitted");
CBlockIndex *pindex = NULL;
int target_confirms = 1;