wallet: Also track confirmations of their_unilateral/to_us outpoints

Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
Christian Decker
2018-03-20 23:56:58 +01:00
committed by Rusty Russell
parent 286cfefc62
commit 27db2d4ce2

View File

@@ -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);
}