lnwallet+protofsm: fix logging

This commit is contained in:
yyforyongyu
2025-03-03 10:00:38 +08:00
committed by Olaoluwa Osuntokun
parent baf0d83c37
commit 8b2ade7ec9
2 changed files with 5 additions and 4 deletions

View File

@@ -345,7 +345,7 @@ func (s *StateMachine[Event, Env]) executeDaemonEvent(ctx context.Context,
// any preconditions as well as post-send events.
case *SendMsgEvent[Event]:
sendAndCleanUp := func() error {
s.log.DebugS(ctx, "Sending message to target",
s.log.DebugS(ctx, "Sending message:",
btclog.Hex6("target", daemonEvent.TargetPeer.SerializeCompressed()),
"messages", lnutils.SpewLogClosure(daemonEvent.Msgs))