mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
wallet: keep a list of unreleased transactions.
We're going to use this in the next patch. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -831,6 +831,7 @@ int main(int argc, char *argv[])
|
||||
* unreserving UTXOs (see #1737) */
|
||||
db_begin_transaction(ld->wallet->db);
|
||||
tal_free(ld->jsonrpc);
|
||||
free_unreleased_txs(ld->wallet);
|
||||
db_commit_transaction(ld->wallet->db);
|
||||
|
||||
remove(ld->pidfile);
|
||||
|
||||
@@ -63,6 +63,9 @@ void fatal(const char *fmt UNNEEDED, ...)
|
||||
/* Generated stub for free_htlcs */
|
||||
void free_htlcs(struct lightningd *ld UNNEEDED, const struct channel *channel UNNEEDED)
|
||||
{ fprintf(stderr, "free_htlcs called!\n"); abort(); }
|
||||
/* Generated stub for free_unreleased_txs */
|
||||
void free_unreleased_txs(struct wallet *w UNNEEDED)
|
||||
{ fprintf(stderr, "free_unreleased_txs called!\n"); abort(); }
|
||||
/* Generated stub for fromwire_status_fail */
|
||||
bool fromwire_status_fail(const tal_t *ctx UNNEEDED, const void *p UNNEEDED, enum status_failreason *failreason UNNEEDED, wirestring **desc UNNEEDED)
|
||||
{ fprintf(stderr, "fromwire_status_fail called!\n"); abort(); }
|
||||
|
||||
Reference in New Issue
Block a user