mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 16:44:20 +01:00
gossipd: hand a gossip_store_fd to all subdaemons.
This will let them read from the gossip store directly. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -7,6 +7,8 @@ static void destroy_peer_comms(struct peer_comms *pcomms)
|
||||
close(pcomms->peer_fd);
|
||||
if (pcomms->gossip_fd != -1)
|
||||
close(pcomms->gossip_fd);
|
||||
if (pcomms->gossip_store_fd != -1)
|
||||
close(pcomms->gossip_store_fd);
|
||||
}
|
||||
|
||||
struct peer_comms *new_peer_comms(const tal_t *ctx)
|
||||
|
||||
Reference in New Issue
Block a user