Browse Source

openingd: Annotate our own funding transaction

Signed-off-by: Christian Decker <decker.christian@gmail.com>
pull/2938/head
Christian Decker 6 years ago
committed by Rusty Russell
parent
commit
61a28ccb39
  1. 2
      lightningd/opening_control.c

2
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);

Loading…
Cancel
Save