refactor: Moving legacy sync method out of routing

This was the only time we actually reference non-routing structs in
routing, so moving this out should allow us to get it working in the
new subdaemons.
This commit is contained in:
Christian Decker
2017-01-21 15:34:53 +01:00
committed by Rusty Russell
parent 5d10093da3
commit 2c06524165
3 changed files with 22 additions and 24 deletions

View File

@@ -149,8 +149,4 @@ struct node_map *empty_node_map(const tal_t *ctx);
char *opt_add_route(const char *arg, struct lightningd_state *dstate);
/* Dump all known channels and nodes to the peer. Used when a new connection was established. */
//FIXME(cdecker) Not used in the gossip subdaemon, remove once old daemon is retired
void sync_routing_table(struct lightningd_state *dstate, struct peer *peer);
#endif /* LIGHTNING_DAEMON_ROUTING_H */