mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
connectd: remove reconnection logic.
We don't have to put aside a peer which is reconnecting and wait for lightningd to remove the old peer, we can now simply free the old and add the new. Fixes: #5240 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
neil saitug
parent
7b0c11efb4
commit
9b6c97437e
@@ -137,8 +137,7 @@ static struct io_plan *peer_init_received(struct io_conn *conn,
|
||||
remote_addr,
|
||||
&peer->cs,
|
||||
take(features),
|
||||
peer->incoming,
|
||||
false);
|
||||
peer->incoming);
|
||||
}
|
||||
|
||||
static struct io_plan *peer_init_hdr_received(struct io_conn *conn,
|
||||
|
||||
Reference in New Issue
Block a user