From f5f496d6988e7fef4caab54d100c5950dcd46c94 Mon Sep 17 00:00:00 2001 From: Shahana Farooqui Date: Mon, 24 Jul 2023 18:58:13 -0700 Subject: [PATCH] docs: Incorrect params sequence for checkrune command It accepts rune first and nodeid second but the documentation showed incorrect sequence. No-schema-diff-check --- doc/lightning-checkrune.7.md | 2 +- doc/schemas/checkrune.request.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/lightning-checkrune.7.md b/doc/lightning-checkrune.7.md index 855fd0052..0dd526d1d 100644 --- a/doc/lightning-checkrune.7.md +++ b/doc/lightning-checkrune.7.md @@ -4,7 +4,7 @@ lightning-checkrune -- Command to Validate Rune SYNOPSIS -------- -**checkrune** [*nodeid*], [*rune*], [*method*] [*params*] +**checkrune** [*rune*], [*nodeid*], [*method*] [*params*] DESCRIPTION ----------- diff --git a/doc/schemas/checkrune.request.json b/doc/schemas/checkrune.request.json index 0b55e870c..417cc2f1c 100644 --- a/doc/schemas/checkrune.request.json +++ b/doc/schemas/checkrune.request.json @@ -9,6 +9,10 @@ ], "added": "v23.08", "properties": { + "rune": { + "type": "string", + "description": "rune to check for authorization" + }, "nodeid": { "type": "string", "description": "node id of your node" @@ -17,10 +21,6 @@ "type": "string", "description": "method for which rune needs to be validated" }, - "rune": { - "type": "string", - "description": "rune to check for authorization" - }, "params": { "oneOf": [ {