From 6f3643538e8d9e94a144aa3fdf75ce9dc01a6740 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Sun, 31 Mar 2024 22:30:06 +0200 Subject: [PATCH] fixup! pay: Base the CLTV calculations on the networkheight --- plugins/test/run-route-calc.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/plugins/test/run-route-calc.c b/plugins/test/run-route-calc.c index a9d97c245156..f0b88fdefc96 100644 --- a/plugins/test/run-route-calc.c +++ b/plugins/test/run-route-calc.c @@ -153,6 +153,20 @@ void json_object_end(struct json_stream *js UNNEEDED) /* Generated stub for json_object_start */ void json_object_start(struct json_stream *ks UNNEEDED, const char *fieldname UNNEEDED) { fprintf(stderr, "json_object_start called!\n"); abort(); } +/* Generated stub for json_scan */ +const char *json_scan(const tal_t *ctx UNNEEDED, + const char *buffer UNNEEDED, + const jsmntok_t *tok UNNEEDED, + const char *guide UNNEEDED, + ...) +{ fprintf(stderr, "json_scan called!\n"); abort(); } +/* Generated stub for json_scanv */ +const char *json_scanv(const tal_t *ctx UNNEEDED, + const char *buffer UNNEEDED, + const jsmntok_t *tok UNNEEDED, + const char *guide UNNEEDED, + va_list ap UNNEEDED) +{ fprintf(stderr, "json_scanv called!\n"); abort(); } /* Generated stub for json_strdup */ char *json_strdup(const tal_t *ctx UNNEEDED, const char *buffer UNNEEDED, const jsmntok_t *tok UNNEEDED) { fprintf(stderr, "json_strdup called!\n"); abort(); }