mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
wallet: Use boolean to determine whether an output is coinbase
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user