MCPcopy Create free account
hub / github.com/ElementsProject/lightning / new_peer_fd_arr

Function new_peer_fd_arr

lightningd/peer_fd.c:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21struct peer_fd *new_peer_fd_arr(const tal_t *ctx, const int *fd)
22{
23 /* We expect 1 fd. */
24 assert(tal_count(fd) == 1);
25 return new_peer_fd(ctx, fd[0]);
26}

Callers 6

handle_channel_closedFunction · 0.70
handle_channel_lockedFunction · 0.70
handle_peer_errorFunction · 0.70
opening_funder_finishedFunction · 0.70
opening_fundee_finishedFunction · 0.70

Calls 1

new_peer_fdFunction · 0.70

Tested by

no test coverage detected