rpc: fix argument check for getaddressutxos

This commit is contained in:
Braydon Fuller 2016-03-29 17:46:59 -04:00 committed by Simon
parent 724f06da7c
commit f64ed53103
1 changed files with 1 additions and 1 deletions

View File

@ -548,7 +548,7 @@ bool getAddressesFromParams(const UniValue& params, std::vector<std::pair<uint16
UniValue getaddressutxos(const UniValue& params, bool fHelp)
{
if (fHelp || params.size() != 1 || !params[0].isObject())
if (fHelp || params.size() != 1)
throw runtime_error(
"getaddressutxos\n"
"\nReturns all unspent outputs for an address (requires addressindex to be enabled).\n"