wallet: fix typo in debug message.

"coinbase" test is backwards!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2022-11-18 14:47:29 +10:30 committed by Christian Decker
parent d94b715bcf
commit 9e41754e7d

View file

@ -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) {