Merge branch 'master' into jl777

This commit is contained in:
blackjok3rtt
2019-05-14 08:47:56 +08:00
committed by GitHub
3 changed files with 7 additions and 4 deletions

View File

@@ -1436,7 +1436,7 @@ UniValue getsnapshot(const UniValue& params, bool fHelp)
UniValue getaddresstxids(const UniValue& params, bool fHelp)
{
if (fHelp || params.size() > 2)
if (fHelp || params.size() > 2 || params.size() < 1)
throw runtime_error(
"getaddresstxids (ccvout)\n"
"\nReturns the txids for an address(es) (requires addressindex to be enabled).\n"