mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-18 20:44:27 +01:00
lightningd/lightningd: finish connect command once gossip started.
This is after the INIT message is received, so we know there are no incompatible features. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -11,8 +11,12 @@ setup_lightning 2
|
||||
|
||||
start_lightningd 2 lightningd/lightningd
|
||||
|
||||
# FIXME: Try to connect.
|
||||
# lcli1 connect localhost $PORT2 $ID2
|
||||
if lcli1 connect localhost $PORT2 $ID1; then
|
||||
echo Connected OK with wrong ID? >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
lcli1 connect localhost $PORT2 $ID2
|
||||
|
||||
# FIXME: Check status.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user