JSONPRC: decodepay: print 'c' value.

If they want to call getroute manually, they'll need this.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2018-01-17 06:14:32 +10:30
parent 461207b886
commit e745572dfb

View File

@@ -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;