mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-03-13 06:01:45 +00:00
Fixed keva_group_get parameter checking.
This commit is contained in:
parent
d9f6e58e21
commit
cd1f3cf0e2
@ -184,7 +184,7 @@ void getNamespaceGroup(const valtype& nameSpace, std::set<valtype>& namespaces,
|
||||
|
||||
UniValue keva_group_get(const JSONRPCRequest& request)
|
||||
{
|
||||
if (request.fHelp || request.params.size() != 2) {
|
||||
if (request.fHelp || request.params.size() < 2) {
|
||||
throw std::runtime_error (
|
||||
"keva_group_get \"namespace\" \"key\" \"initiator\"\n"
|
||||
"\nGet value of the given key from the namespace and other namespaces in the same group.\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user