Skip to content

Commit 2702173

Browse files
committed
lightningd: remove overzealous assertion.
This is being hit: it's possible if connectd and lightningd get desynchronized, and we'll handle this later when peer is activated. Signed-off-by: Rusty Russell <[email protected]>
1 parent c266189 commit 2702173

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lightningd/peer_control.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,9 +1189,6 @@ void peer_connected(struct lightningd *ld, const u8 *msg)
11891189
if (!peer_subds_pending(peer))
11901190
connect_succeeded(ld, peer, hook_payload->incoming, &hook_payload->addr);
11911191

1192-
/* Can't be opening, since we wouldn't have sent peer_disconnected. */
1193-
assert(!peer->uncommitted_channel);
1194-
11951192
/* Log and update remote_addr for Nat/IP discovery. */
11961193
if (hook_payload->remote_addr) {
11971194
log_info(ld->log, "Peer says it sees our address as: %s",

0 commit comments

Comments
 (0)