lnwallet+protofsm: fix logging
This commit is contained in:
1 parent
baf0d83c37
commit
8b2ade7ec9
2 files changed
+5
-4
No files matched your search
@@ -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))
|
||||
|
||||
|
||||
Reference in new issue
Block a user