mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-09 09:04:25 +01:00
It's caused by a reconnection race: we hold the new incoming connection while we ask lightningd to kill the old connection. But under some circumstances we leave the new incoming hanging (with, in this case, old reestablish messages unread!) and another connection comes in. Then, later we service the long-gone "incoming" connection, channeld reads the ancient reestablish message and gets upset. This test used to hang, but now we've fixed reconnection races it is fine. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>