mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 09:34:24 +01:00
doc: add 'id' to rpc_command
It's required, so at least hint about its presence! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
bd369edd10
commit
f8d8348c9f
@@ -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": [],
|
||||
|
||||
Reference in New Issue
Block a user