plugin/pay: feed bolt11 string through to sendpay.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2019-02-23 13:41:14 +10:30
parent 5e14274f41
commit 30e4b812d0

View File

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