wallet: Pass in timers object during construction.

In preparation for expiration.
This commit is contained in:
ZmnSCPxj
2018-01-22 23:53:21 +00:00
committed by Rusty Russell
parent 8be1c1df32
commit 1e6747c28e
6 changed files with 19 additions and 7 deletions

View File

@@ -112,7 +112,8 @@ bool wallet_htlcs_reconnect(struct wallet *wallet UNNEEDED,
bool wallet_invoice_load(struct wallet *wallet UNNEEDED)
{ fprintf(stderr, "wallet_invoice_load called!\n"); abort(); }
/* Generated stub for wallet_new */
struct wallet *wallet_new(const tal_t *ctx UNNEEDED, struct log *log UNNEEDED)
struct wallet *wallet_new(const tal_t *ctx UNNEEDED,
struct log *log UNNEEDED, struct timers *timers UNNEEDED)
{ fprintf(stderr, "wallet_new called!\n"); abort(); }
/* AUTOGENERATED MOCKS END */