Browse Source

gossipd: Fix copy-paste error when adding a channel locally

Signed-off-by: Christian Decker <decker.christian@gmail.com>
ppa-0.6.1
Christian Decker 7 years ago
parent
commit
202868b677
  1. 2
      gossipd/gossip.c

2
gossipd/gossip.c

@ -763,7 +763,7 @@ static void handle_local_add_channel(struct peer *peer, u8 *msg)
return;
}
if (get_connection_by_scid(rstate, &scid, 0)) {
if (get_connection_by_scid(rstate, &scid, 0) || get_connection_by_scid(rstate, &scid, 1)) {
status_trace("Attempted to local_add_channel a know channel");
return;
}

Loading…
Cancel
Save