channel: Set the billboard to reconnecting when we restarted

Some people were alarmed that the state was set to "Loaded from
database" indefinitely. Saying that we are trying to reconnect may be
more informative.
This commit is contained in:
Christian Decker 2018-10-09 22:28:40 +02:00 committed by Rusty Russell
parent 31d8a5a9a4
commit f3b4dcb1f6

View File

@ -995,6 +995,7 @@ static void activate_peer(struct peer *peer)
msg = towire_connectctl_connect_to_peer(NULL, &peer->id, 0, msg = towire_connectctl_connect_to_peer(NULL, &peer->id, 0,
&peer->addr); &peer->addr);
subd_send_msg(ld->connectd, take(msg)); subd_send_msg(ld->connectd, take(msg));
channel_set_billboard(channel, false, "Attempting to reconnect");
} }
list_for_each(&peer->channels, channel, list) { list_for_each(&peer->channels, channel, list) {