| 21 | #include <wire/wire_sync.h> |
| 22 | |
| 23 | void channel_set_owner(struct channel *channel, struct subd *owner) |
| 24 | { |
| 25 | struct subd *old_owner = channel->owner; |
| 26 | channel->owner = owner; |
| 27 | |
| 28 | if (old_owner) |
| 29 | subd_release_channel(old_owner, channel); |
| 30 | } |
| 31 | |
| 32 | struct htlc_out *channel_has_htlc_out(struct channel *channel) |
| 33 | { |
no test coverage detected