mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 10:46:58 +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:
parent
d340ee8abb
commit
202868b677
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue