Skip to content

Commit

Permalink
wallet: fix typo in debug message.
Browse files Browse the repository at this point in the history
"coinbase" test is backwards!

Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell authored and cdecker committed Nov 18, 2022
1 parent d94b715 commit 9e41754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wallet/wallet.c
Original file line number Diff line number Diff line change
Expand Up @@ -2358,7 +2358,7 @@ int wallet_extract_owned_outputs(struct wallet *w, const struct wally_tx *wtx,
type_to_string(tmpctx, struct bitcoin_txid,
&utxo->outpoint.txid),
blockheight ? " CONFIRMED" : "",
is_coinbase == 0 ? " COINBASE" : "");
is_coinbase ? " COINBASE" : "");

/* We only record final ledger movements */
if (blockheight) {
Expand Down

0 comments on commit 9e41754

Please sign in to comment.