diff --git a/lightningd/peer_control.c b/lightningd/peer_control.c index 45f22c5e1..280972ab3 100644 --- a/lightningd/peer_control.c +++ b/lightningd/peer_control.c @@ -256,7 +256,7 @@ static void get_gossip_fd_for_reconnect(struct lightningd *ld, ggf->peer_fd = peer_fd; ggf->id = *id; ggf->cs = *cs; - + /* FIXME: set sync to `initial_routing_sync` */ req = towire_gossipctl_get_peer_gossipfd(ggf, unique_id, true); subd_req(ggf, ld->gossip, take(req), -1, 1, @@ -1005,7 +1005,7 @@ static int peer_got_shutdown(struct peer *peer, const u8 *msg) * `shutdown` once there are no outstanding updates on the * peer, unless it has already sent a `shutdown`. */ - subd_send_msg(peer->owner, + subd_send_msg(peer->owner, take(towire_channel_send_shutdown(peer, scriptpubkey))); } diff --git a/lightningd/peer_control.h b/lightningd/peer_control.h index 9e238ed4e..9dba8bf94 100644 --- a/lightningd/peer_control.h +++ b/lightningd/peer_control.h @@ -84,7 +84,7 @@ struct peer { u8 *remote_shutdown_scriptpubkey; /* Our key for shutdown (-1 if not chosen yet) */ s64 local_shutdown_idx; - + /* Reestablishment stuff: last sent commit and revocation details. */ bool last_was_revoke; struct changed_htlc *last_sent_commit;