mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
daemon/watch.c: move list of watched txs/txouts into struct topology.
This weans daemon/watch.c off relying on struct lightningd_state. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -110,10 +110,6 @@ struct lightningd_state {
|
||||
/* This is us. */
|
||||
struct pubkey id;
|
||||
|
||||
/* Transactions/txos we are watching. */
|
||||
struct txwatch_hash txwatches;
|
||||
struct txowatch_hash txowatches;
|
||||
|
||||
/* Our tame bitcoind. */
|
||||
struct bitcoind *bitcoind;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user