MCPcopy Create free account
hub / github.com/ElementsProject/lightning / command_deprecated_ok_flag

Function command_deprecated_ok_flag

plugins/libplugin.c:2061–2066  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2059}
2060
2061bool command_deprecated_ok_flag(const struct command *cmd)
2062{
2063 if (cmd->plugin->deprecated_ok_override)
2064 return *cmd->plugin->deprecated_ok_override;
2065 return cmd->plugin->deprecated_ok;
2066}
2067
2068static struct command_result *param_tok(struct command *cmd, const char *name,
2069 const char *buffer, const jsmntok_t * tok,

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected