mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 13:25:43 +01:00
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:
parent
31d8a5a9a4
commit
f3b4dcb1f6
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user