[bitcoin/bitcoin] Refactoring CRPCCommand with enum category (#13945)

now CI it is failing because of:
0.04s$ test/lint/check-rpc-mappings.py .
Traceback (most recent call last):
File «test/lint/check-rpc-mappings.py», line 158, in
File «test/lint/check-rpc-mappings.py», line 98, in main
cmds += process_commands(os.path.join(root, fname))
File «test/lint/check-rpc-mappings.py», line 58, in process_commands
assert m, ‘No match to table expression: %s’ % line
AssertionError: No match to table expression: { eRPCCategory_control, «help», &help, {«command»} },
The command «test/lint/check-rpc-mappings.py .» exited with 1.
I don’t know how to instruct python teaching to him that a field should be an enum, not a std::string.

Добавить комментарий