From 61a28ccb391481cce7f97653369f716b139ee470 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Tue, 28 May 2019 00:02:24 +0200 Subject: [PATCH] openingd: Annotate our own funding transaction Signed-off-by: Christian Decker --- lightningd/opening_control.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lightningd/opening_control.c b/lightningd/opening_control.c index 1d5c7ce56..4965ea79d 100644 --- a/lightningd/opening_control.c +++ b/lightningd/opening_control.c @@ -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);