openingd: Annotate our own funding transaction

Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
Christian Decker 2019-05-28 00:02:24 +02:00 committed by Rusty Russell
parent 49a0de7b1d
commit 61a28ccb39
1 changed files with 2 additions and 0 deletions

View File

@ -455,6 +455,8 @@ static void opening_funder_finished(struct subd *openingd, const u8 *resp,
/* Mark consumed outputs as spent */
wallet_confirm_utxos(ld->wallet, fc->wtx->utxos);
wallet_transaction_annotate(ld->wallet, &funding_txid,
TX_CHANNEL_FUNDING, channel->dbid);
/* Start normal channel daemon. */
peer_start_channeld(channel, pps, NULL, false);