mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 22:45:27 +01:00
gossipd: correctly attribute our own channel update to ourselves
This commit is contained in:
parent
a8995caa8b
commit
014cc46328
1 changed files with 1 additions and 1 deletions
|
@ -600,7 +600,7 @@ static void apply_update(struct daemon *daemon,
|
|||
take(update);
|
||||
}
|
||||
|
||||
msg = handle_channel_update(daemon->rstate, update, &chan->nodes[!direction]->id, NULL, true);
|
||||
msg = handle_channel_update(daemon->rstate, update, &chan->nodes[direction]->id, NULL, true);
|
||||
if (msg)
|
||||
status_failed(STATUS_FAIL_INTERNAL_ERROR,
|
||||
"%s: rejected local channel update %s: %s",
|
||||
|
|
Loading…
Add table
Reference in a new issue