lightningd: actually unwatch txs when onchaind says we should.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2018-01-29 12:51:18 +10:30
committed by Christian Decker
parent 6d0fd84c63
commit c6ce352404
3 changed files with 36 additions and 1 deletions

View File

@@ -134,6 +134,10 @@ struct txowatch *watch_txo_(const tal_t *ctx,
const struct block *block), \
(cbdata))
struct txwatch *find_txwatch(struct chain_topology *topo,
const struct bitcoin_txid *txid,
const struct peer *peer);
void txwatch_fire(struct chain_topology *topo,
const struct bitcoin_tx *tx,
unsigned int depth);