From f8d8348c9f01ef0ee960b44efff4690eac455d05 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Sun, 8 Dec 2019 12:46:59 +1030 Subject: [PATCH] doc: add 'id' to rpc_command It's required, so at least hint about its presence! Signed-off-by: Rusty Russell --- doc/PLUGINS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/PLUGINS.md b/doc/PLUGINS.md index 33d4b85b2..2967d55be 100644 --- a/doc/PLUGINS.md +++ b/doc/PLUGINS.md @@ -703,6 +703,7 @@ the received JSON-RPC request to the registered plugin, ```json { "rpc_command": { + "id": 3, "method": "method_name", "params": { "param_1": [], @@ -727,6 +728,7 @@ Replace the request made to `lightningd`: ```json { "replace": { + "id": 3, "method": "method_name", "params": { "param_1": [],