Browse Source
In this test we tell l3 to disconnect on sending WIRE_CHANNEL_ANNOUNCEMENT. This is hit by gossipd (to disconnect from l2) but *also* channeld to disconnect from l4. That's OK, because normally by this point l4 has sent its real channel_update. However, the next patch introduces a delay in sending channel_updates, meaning l4 hasn't sent it yet. If l3 doesn't reconnect to l4, we never get the channel_update and the test which expects l1 to eventually see both sides of the channel fails. So we manually reconnect then. Note that we remove the redundant 'dev-no-reconnect' option from l2: it's added automatically as it doesn't set 'may_reconnect'. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>ppa-0.6.1
Rusty Russell
7 years ago
committed by
Christian Decker
1 changed files with 10 additions and 4 deletions
Loading…
Reference in new issue