Browse Source

plugin/pay: feed bolt11 string through to sendpay.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
pr-2391
Rusty Russell 6 years ago
parent
commit
30e4b812d0
  1. 3
      plugins/pay.c

3
plugins/pay.c

@ -511,9 +511,10 @@ static struct command_result *getroute_done(struct command *cmd,
json_desc = ""; json_desc = "";
return send_outreq(cmd, "sendpay", sendpay_done, sendpay_error, pc, 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, attempt->route,
pc->payment_hash, pc->payment_hash,
pc->ps->bolt11,
json_desc); json_desc);
} }

Loading…
Cancel
Save