From 9e41754e7d23f7e79e58ebdd7170889aaacd902d Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 18 Nov 2022 14:47:29 +1030 Subject: [PATCH] wallet: fix typo in debug message. "coinbase" test is backwards! Signed-off-by: Rusty Russell --- wallet/wallet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet/wallet.c b/wallet/wallet.c index 2260b5c29..9f59bb00f 100644 --- a/wallet/wallet.c +++ b/wallet/wallet.c @@ -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) {