diff --git a/wallet/wallet.c b/wallet/wallet.c index 5d9a1e564c99..39dd75e70e21 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"