From e745572dfb560327c98ddbd540465e0d4478cf87 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 17 Jan 2018 06:14:32 +1030 Subject: [PATCH] JSONPRC: decodepay: print 'c' value. If they want to call getroute manually, they'll need this. Signed-off-by: Rusty Russell --- lightningd/invoice.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lightningd/invoice.c b/lightningd/invoice.c index d540b8ff5..67222eb75 100644 --- a/lightningd/invoice.c +++ b/lightningd/invoice.c @@ -411,6 +411,8 @@ static void json_decodepay(struct command *cmd, json_add_hex(response, "description_hash", b11->description_hash, sizeof(*b11->description_hash)); + json_add_num(response, "min_final_cltv_expiry", + b11->min_final_cltv_expiry); if (tal_len(b11->fallback)) { struct bitcoin_address pkh; struct ripemd160 sh;