fix getaddresstxids help

This commit is contained in:
Alrighttt
2019-05-11 14:34:41 +02:00
committed by GitHub
parent f5a234c45f
commit 462320cfaf

View File

@@ -1432,8 +1432,8 @@ UniValue getsnapshot(const UniValue& params, bool fHelp)
UniValue getaddresstxids(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( throw runtime_error
"getaddresstxids (ccvout)\n" "getaddresstxids (ccvout)\n"
"\nReturns the txids for an address(es) (requires addressindex to be enabled).\n" "\nReturns the txids for an address(es) (requires addressindex to be enabled).\n"
"\nArguments:\n" "\nArguments:\n"