chore: add TODO to make client parsing for composite commands

This commit is contained in:
Konstantin Akimov 2024-07-12 03:27:43 +07:00
parent d55759fa79
commit 3270becc9b
No known key found for this signature in database
GPG Key ID: 2176C4A5D01EA524

View File

@ -632,6 +632,8 @@ UniValue CRPCTable::dumpArgMap() const
{
UniValue ret{UniValue::VARR};
for (const auto& cmd : mapCommands) {
// TODO: implement mapping argument to type for composite commands
if (!cmd.first.second.empty()) continue;
for (const auto& c : cmd.second) {
const auto help = RpcMethodFnType(c->unique_id)();
help.AppendArgMap(ret);