pyln-client, libplugin, rust cln-plugin: explicitly flag that we allow non-numeric JSON ids.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2022-11-21 12:23:26 +10:30
committed by Christian Decker
parent d5ce5cbab3
commit ece77840f9
5 changed files with 6 additions and 15 deletions

View File

@@ -888,6 +888,7 @@ handle_getmanifest(struct command *getmanifest_cmd,
}
json_add_bool(params, "dynamic", p->restartability == PLUGIN_RESTARTABLE);
json_add_bool(params, "nonnumericids", true);
json_array_start(params, "notifications");
for (size_t i = 0; p->notif_topics && i < p->num_notif_topics; i++) {