mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-23 15:04:19 +01:00
gossipd: Fix copy-paste error when adding a channel locally
Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user