lnwallet+protofsm: fix logging

This commit is contained in:
yyforyongyu authored and Olaoluwa Osuntokun committed 2025-03-18 11:44:20 -05:00
1 parent baf0d83c37
commit 8b2ade7ec9
2 files changed
+5 -4

No files matched your search

+1 -1
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))