Skip to content

Commit

Permalink
wallet: Log to chan->log rather than wallet->log
Browse files Browse the repository at this point in the history
Suggested-by: Rusty Russell <@rustyrussell>
  • Loading branch information
cdecker committed Jun 22, 2024
1 parent 001b190 commit 1347e86
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 @@ -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"
Expand Down

0 comments on commit 1347e86

Please sign in to comment.