From 849f92f4b0397be3c657ec53549045e56e447664 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 8 Feb 2022 11:59:13 +1030 Subject: [PATCH] doc/schemas: disallow unknown fields in listchannels. Would have caught the previous bug! Signed-off-by: Rusty Russell --- doc/schemas/listchannels.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/schemas/listchannels.schema.json b/doc/schemas/listchannels.schema.json index 8d95dd87f..feea20285 100644 --- a/doc/schemas/listchannels.schema.json +++ b/doc/schemas/listchannels.schema.json @@ -10,7 +10,7 @@ "type": "array", "items": { "type": "object", - "additionalProperties": true, + "additionalProperties": false, "required": [ "source", "destination",