From 30e4b812d0c65da922d8ac77413023e806182a88 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Sat, 23 Feb 2019 13:41:14 +1030 Subject: [PATCH] plugin/pay: feed bolt11 string through to sendpay. Signed-off-by: Rusty Russell --- plugins/pay.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/pay.c b/plugins/pay.c index 72342799a..d50a05b94 100644 --- a/plugins/pay.c +++ b/plugins/pay.c @@ -511,9 +511,10 @@ static struct command_result *getroute_done(struct command *cmd, json_desc = ""; return send_outreq(cmd, "sendpay", sendpay_done, sendpay_error, pc, - "'route': %s, 'payment_hash': '%s'%s", + "'route': %s, 'payment_hash': '%s', 'bolt11': '%s'%s", attempt->route, pc->payment_hash, + pc->ps->bolt11, json_desc); }