From 27db2d4ce2398d3e738fee7051734df320e01b7b Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Tue, 20 Mar 2018 23:56:58 +0100 Subject: [PATCH] wallet: Also track confirmations of their_unilateral/to_us outpoints Signed-off-by: Christian Decker --- lightningd/onchain_control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightningd/onchain_control.c b/lightningd/onchain_control.c index 49c8686fb..720e7008d 100644 --- a/lightningd/onchain_control.c +++ b/lightningd/onchain_control.c @@ -236,7 +236,7 @@ static void onchain_add_utxo(struct channel *channel, const u8 *msg) fatal("onchaind gave invalid add_utxo message: %s", tal_hex(msg, msg)); } - + outpointfilter_add(channel->peer->ld->wallet->owned_outpoints, &u->txid, u->outnum); wallet_add_utxo(channel->peer->ld->wallet, u, p2wpkh); }