Files
lightning/lightningd
Rusty Russell 6c96bcacd7 lightningd: fix inconsistency without COMPAT enabled.
We don't expect payment or payment->route_channels to be NULL without an
old db, but putting an assert there reveals that we try to fail an HTLC
which has already succeeded in 'test_onchain_unwatch'.

Obviously we only want to fail an HTLC which goes onchain if we don't
already have the preimage!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-10-09 23:17:54 +00:00
..
2017-10-20 18:31:32 +02:00
2018-09-03 00:40:27 +00:00
2018-07-29 16:27:38 +02:00
2018-09-14 22:12:13 +02:00
2018-08-20 01:02:25 +00:00
2018-09-25 15:11:45 +02:00
2018-05-05 17:55:10 +02:00
2018-07-30 03:04:45 +00:00
2018-09-03 00:40:27 +00:00
2018-02-16 13:08:29 +01:00