diff --git a/lightningd/lightningd.c b/lightningd/lightningd.c index 1686dd213..a79d77106 100644 --- a/lightningd/lightningd.c +++ b/lightningd/lightningd.c @@ -36,34 +36,6 @@ char *bitcoin_datadir; struct backtrace_state *backtrace_state; -void db_resolve_invoice(struct lightningd *ld, - const char *label); -void db_resolve_invoice(struct lightningd *ld, - const char *label) -{ - /* FIXME */ -} - -bool db_new_invoice(struct lightningd *ld, - u64 msatoshi, - const char *label, - const struct preimage *r); -bool db_new_invoice(struct lightningd *ld, - u64 msatoshi, - const char *label, - const struct preimage *r) -{ - /* FIXME */ - return true; -} - -bool db_remove_invoice(struct lightningd *ld, const char *label); -bool db_remove_invoice(struct lightningd *ld, const char *label) -{ - /* FIXME */ - return true; -} - static struct lightningd *new_lightningd(const tal_t *ctx, struct log_book *log_book) { @@ -336,11 +308,6 @@ int main(int argc, char *argv[]) type_to_string(ltmp, struct pubkey, &ld->id), ld->alias, tal_hex(ltmp, ld->rgb), version()); -#if 0 - /* Load peers from database. */ - db_load_peers(dstate); -#endif - for (;;) { struct timer *expired; void *v = io_loop(&ld->timers, &expired);