mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
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 <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
947cc4730c
commit
51ed7557a1
@@ -208,7 +208,7 @@ int main(int argc, char *argv[])
|
|||||||
strtok->end - strtok->start);
|
strtok->end - strtok->start);
|
||||||
str = json_escape_unescape(tmpctx, esc);
|
str = json_escape_unescape(tmpctx, esc);
|
||||||
actual = (string_to_data(tmpctx, str, strlen(str),
|
actual = (string_to_data(tmpctx, str, strlen(str),
|
||||||
"lni", &dlen, &fail) != NULL);
|
"lno", &dlen, &fail) != NULL);
|
||||||
assert(actual == valid);
|
assert(actual == valid);
|
||||||
}
|
}
|
||||||
tal_free(tmpctx);
|
tal_free(tmpctx);
|
||||||
|
|||||||
Reference in New Issue
Block a user