mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
json: add "dynamic" field to plugin list
CHANGELOG: add "dynamic" field to plugin list
This commit is contained in:
committed by
neil saitug
parent
82a18813b3
commit
71cd07ea61
@@ -34,6 +34,7 @@ static struct command_result *plugin_dynamic_list_plugins(struct plugin_command
|
||||
json_add_string(response, "name", p->cmd);
|
||||
json_add_bool(response, "active",
|
||||
p->plugin_state == INIT_COMPLETE);
|
||||
json_add_bool(response, "dynamic", p->dynamic);
|
||||
json_object_end(response);
|
||||
}
|
||||
json_array_end(response);
|
||||
|
||||
Reference in New Issue
Block a user