From df6a8b868df4be1a931ba2909f6964555e523601 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Wed, 19 Jun 2024 14:50:01 +0200 Subject: [PATCH] wallet: Log to chan->log rather than wallet->log Suggested-by: Rusty Russell <@rustyrussell> --- wallet/wallet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet/wallet.c b/wallet/wallet.c index cca7138b3ba2..c8fd84e13e50 100644 --- a/wallet/wallet.c +++ b/wallet/wallet.c @@ -3194,7 +3194,7 @@ bool wallet_htlcs_load_in_for_channel(struct wallet *wallet, bool ok = true; int incount = 0; - log_debug(wallet->log, + log_debug(chan->log, "Loading in HTLCs for channel %"PRIu64" (state=%s)", chan->dbid, channel_state_name(chan)); stmt = db_prepare_v2(wallet->db, SQL("SELECT"