forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
connectd: fixes as suggested by @niftynei.
I split the peer_connected() function into the peer_reconnected(), which is basically an entire separate path from the rest of peer_connected(). Also, removed unused TAKEN annotation from `id` parameter. Nobody actually hands us take() there, and just as well, since we don't take it! Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information
1 parent
c3ffa6b
commit 15e8801
Showing
1 changed file
with
48 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters