delinvoice: routine to remove an unpaid invoice.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2016-09-06 16:47:49 +09:30
parent f6a0ea0b66
commit 0761c12381
6 changed files with 76 additions and 0 deletions

View File

@@ -42,6 +42,9 @@ bool db_new_invoice(struct lightningd_state *dstate,
const char *label,
const struct rval *r);
bool db_remove_invoice(struct lightningd_state *dstate,
const char *label);
/* FIXME: save error handling until db_commit_transaction for calls
* which have to be inside transaction anyway. */