channeld: wire up dev_memleak.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2018-11-22 12:47:29 +10:30
parent 6094a95132
commit d3ea9bf8bf
9 changed files with 130 additions and 3 deletions

View File

@@ -91,4 +91,9 @@ void channel_watch_funding(struct lightningd *ld, struct channel *channel);
/* Pull peers, channels and HTLCs from db, and wire them up. */
void load_channels_from_wallet(struct lightningd *ld);
#if DEVELOPER
void peer_dev_memleak(struct command *cmd);
#endif /* DEVELOPER */
#endif /* LIGHTNING_LIGHTNINGD_PEER_CONTROL_H */