| 135 | } |
| 136 | |
| 137 | const u8 *get_channel_update(struct channel *channel) |
| 138 | { |
| 139 | /* Tell gossipd we're using it (if shutting down, might be NULL) */ |
| 140 | if (channel->channel_update && channel->peer->ld->gossip) { |
| 141 | subd_send_msg(channel->peer->ld->gossip, |
| 142 | take(towire_gossipd_used_local_channel_update |
| 143 | (NULL, channel->scid))); |
| 144 | } |
| 145 | return channel->channel_update; |
| 146 | } |
| 147 | |
| 148 | static unsigned gossip_msg(struct subd *gossip, const u8 *msg, const int *fds) |
| 149 | { |
no test coverage detected