Rusty Russell
a4df2c7697
lightning/pay: don't crash when trying to send payment down unconfirmed channel.
...
An "active" channel may still be CHANNELD_AWAITING_LOCKIN, so have ->scid NULL.
You can only trigger this by trying to sendpay to the node using a
manual route, since routing would never use such a channel.
```
lightningd: FATAL SIGNAL 11 (version v0.10.0-319-g81cbc20-modded)
0x55e79d194e17 send_backtrace
common/daemon.c:39
0x55e79d194ec1 crashdump
common/daemon.c:52
0x7fce2d79920f ???
???:0
0x7fce2d8e16f7 ???
???:0
0x55e79d2019eb tal_dup_
ccan/ccan/tal/tal.c:801
0x55e79d14e1d9 immediate_routing_failure
lightningd/pay.c:365
0x55e79d14fe91 send_payment_core
lightningd/pay.c:1022
0x55e79d150995 send_payment
lightningd/pay.c:1180
0x55e79d151975 json_sendpay
lightningd/pay.c:1462
```
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2021-06-11 13:54:09 +09:30
..
2021-06-03 16:16:34 +09:30
2020-09-09 19:54:20 +09:30
2021-03-16 10:45:40 +10:30
2020-09-09 12:38:19 +09:30
2021-04-07 14:34:39 +09:30
2020-09-09 12:38:19 +09:30
2021-06-04 16:13:08 +09:30
2021-01-10 13:44:04 +01:00
2021-01-10 13:44:04 +01:00
2021-06-04 16:13:08 +09:30
2021-06-04 16:13:08 +09:30
2021-05-30 09:49:44 +09:30
2019-06-04 01:29:39 +00:00
2020-09-09 19:54:20 +09:30
2020-05-12 15:46:58 +09:30
2021-06-03 16:16:34 +09:30
2021-03-26 13:22:33 +10:30
2021-06-05 17:47:32 +09:30
2021-06-03 16:16:34 +09:30
2021-05-22 17:53:04 +09:30
2019-09-25 04:01:56 +00:00
2021-05-22 17:53:04 +09:30
2020-05-07 08:44:58 +09:30
2021-01-06 13:50:01 +01:00
2020-06-11 13:13:13 +02:00
2021-06-05 17:47:32 +09:30
2021-06-05 17:47:32 +09:30
2020-10-28 12:03:14 +01:00
2020-09-08 09:42:00 +09:30
2021-06-05 17:47:32 +09:30
2020-09-08 09:42:00 +09:30
2019-07-24 16:16:53 +02:00
2019-05-31 17:57:10 +02:00
2021-05-22 17:53:04 +09:30
2020-08-11 08:39:24 +09:30
2021-06-05 17:47:32 +09:30
2020-10-23 13:53:16 +10:30
2021-05-26 20:01:03 +09:30
2021-04-24 13:56:58 +09:30
2020-08-25 12:53:13 +09:30
2019-11-18 04:50:22 +00:00
2021-05-05 17:19:19 -05:00
2019-11-18 04:50:22 +00:00
2021-03-25 20:05:11 +10:30
2020-09-23 13:52:49 +09:30
2019-02-07 20:33:50 +00:00
2021-05-03 11:20:15 +09:30
2021-05-03 11:20:15 +09:30
2021-02-25 14:44:03 +10:30
2021-06-04 16:13:08 +09:30
2020-08-25 12:53:13 +09:30
2021-06-05 17:47:32 +09:30
2021-01-09 14:34:35 +10:30
2021-03-03 16:19:04 -06:00
2021-03-16 13:10:07 +10:30
2021-06-05 17:47:32 +09:30
2021-06-03 16:16:34 +09:30
2021-06-03 20:10:07 +02:00
2019-11-23 22:42:34 +00:00
2021-06-11 13:54:09 +09:30
2020-05-04 18:56:33 +09:30
2021-06-05 17:47:32 +09:30
2021-03-26 13:22:33 +10:30
2021-06-05 17:47:32 +09:30
2020-09-23 15:51:13 +09:30
2020-08-25 12:53:13 +09:30
2018-09-14 22:11:23 +02:00
2021-03-01 12:16:42 +01:00
2020-05-05 13:45:17 +09:30
2021-06-05 17:47:32 +09:30
2021-06-05 17:47:32 +09:30
2021-05-14 10:24:05 +09:30
2021-05-03 11:20:15 +09:30
2020-09-08 19:47:11 +09:30
2020-09-08 19:47:11 +09:30
2020-08-25 12:53:13 +09:30
2021-04-24 13:56:58 +09:30
2021-04-24 13:56:58 +09:30
2020-01-02 16:56:42 +01:00
2019-06-28 03:31:43 +00:00