From 51ed7557a190ff9e11843c17b3e514b0c0c4a0da Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 8 Oct 2021 09:24:37 +1030 Subject: [PATCH] bolt12: upgrade to handle latest test vectors. The latest ones use lno, not lni (this unit tests loads from ../lightning-rfc, silently exiting if it doesn't have the test vector). Signed-off-by: Rusty Russell --- common/test/run-bolt12_decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/test/run-bolt12_decode.c b/common/test/run-bolt12_decode.c index 4e6ee7658..521b47d4b 100644 --- a/common/test/run-bolt12_decode.c +++ b/common/test/run-bolt12_decode.c @@ -208,7 +208,7 @@ int main(int argc, char *argv[]) strtok->end - strtok->start); str = json_escape_unescape(tmpctx, esc); actual = (string_to_data(tmpctx, str, strlen(str), - "lni", &dlen, &fail) != NULL); + "lno", &dlen, &fail) != NULL); assert(actual == valid); } tal_free(tmpctx);