subd: handle status_peer_billboard messages from subdaemons.

We use a callback which updates the appropriate slot.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2018-02-23 16:23:47 +10:30
committed by Christian Decker
parent db4de95033
commit 26b004e5af
7 changed files with 57 additions and 4 deletions

View File

@@ -163,6 +163,7 @@ void peer_start_closingd(struct channel *channel,
channel, channel->log,
closing_wire_type_name, closing_msg,
channel_errmsg,
channel_set_billboard,
take(&peer_fd), take(&gossip_fd),
NULL));
if (!channel->owner) {