mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-13 16:48:08 +00:00
Removed duplicated items in keva namespace group.
This commit is contained in:
parent
cc0512bbe3
commit
44d9933c0f
@ -789,6 +789,9 @@ UniValue keva_group_show(const JSONRPCRequest& request)
|
|||||||
if (!isNamespaceGroup(key, targetNS)) {
|
if (!isNamespaceGroup(key, targetNS)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (nsList.find(targetNS) != nsList.end()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
valtype val;
|
valtype val;
|
||||||
if (mempool.getUnconfirmedKeyValue(nameSpace, key, val) && val.size() > 0) {
|
if (mempool.getUnconfirmedKeyValue(nameSpace, key, val) && val.size() > 0) {
|
||||||
CKevaData nsData;
|
CKevaData nsData;
|
||||||
@ -802,6 +805,7 @@ UniValue keva_group_show(const JSONRPCRequest& request)
|
|||||||
obj.pushKV("height", -1);
|
obj.pushKV("height", -1);
|
||||||
obj.pushKV("initiator", false);
|
obj.pushKV("initiator", false);
|
||||||
namespaces.push_back(obj);
|
namespaces.push_back(obj);
|
||||||
|
nsList.insert(targetNS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user