wallet: Use boolean to determine whether an output is coinbase

This commit is contained in:
Christian Decker
2022-11-08 15:42:38 +01:00
parent 26f5dcd2a5
commit adf14151fa
5 changed files with 8 additions and 8 deletions

View File

@@ -1462,7 +1462,7 @@ static void handle_tx_broadcast(struct channel_send *cs)
/* This might have spent UTXOs from our wallet */
num_utxos = wallet_extract_owned_outputs(ld->wallet,
/* FIXME: what txindex? */
wtx, 1, NULL,
wtx, false, NULL,
&unused);
if (num_utxos)
wallet_transaction_add(ld->wallet, wtx, 0, 0);