mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 00:24:19 +01:00
plugin/pay: feed bolt11 string through to sendpay.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user