From 4ac85b2cd155db397798f524f7670a68b50ce81b Mon Sep 17 00:00:00 2001 From: Lagrang3 Date: Mon, 12 Aug 2024 20:26:55 +0100 Subject: [PATCH] askrene: inform-channel fixes argument order The documentation and the implementation of inform-channel have different orders for the arguments minimum_msat and maximum_msat. We change the order in the documentation to match that of the implementation: minimum_msat comes before maximum_msat. Signed-off-by: Lagrang3 --- contrib/msggen/msggen/schema.json | 8 ++++---- doc/schemas/lightning-askrene-inform-channel.json | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/contrib/msggen/msggen/schema.json b/contrib/msggen/msggen/schema.json index 07a526f4465f..3cd6c5adb50b 100644 --- a/contrib/msggen/msggen/schema.json +++ b/contrib/msggen/msggen/schema.json @@ -446,16 +446,16 @@ "The direction to apply this change to." ] }, - "maximum_msat": { + "minimum_msat": { "type": "msat", "description": [ - "The maximum value which this channel could pass. This or *minimum_msat* must be specified, but not both." + "The minumum value which this channel could pass. This or *minimum_msat* must be specified, but not both." ] }, - "minimum_msat": { + "maximum_msat": { "type": "msat", "description": [ - "The minumum value which this channel could pass. This or *minimum_msat* must be specified, but not both." + "The maximum value which this channel could pass. This or *minimum_msat* must be specified, but not both." ] } } diff --git a/doc/schemas/lightning-askrene-inform-channel.json b/doc/schemas/lightning-askrene-inform-channel.json index 84017b2852e3..8ba0f90f62e3 100644 --- a/doc/schemas/lightning-askrene-inform-channel.json +++ b/doc/schemas/lightning-askrene-inform-channel.json @@ -34,16 +34,16 @@ "The direction to apply this change to." ] }, - "maximum_msat": { + "minimum_msat": { "type": "msat", "description": [ - "The maximum value which this channel could pass. This or *minimum_msat* must be specified, but not both." + "The minumum value which this channel could pass. This or *minimum_msat* must be specified, but not both." ] }, - "minimum_msat": { + "maximum_msat": { "type": "msat", "description": [ - "The minumum value which this channel could pass. This or *minimum_msat* must be specified, but not both." + "The maximum value which this channel could pass. This or *minimum_msat* must be specified, but not both." ] } }