File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 8
8
"github.com/lightningnetwork/lnd/htlcswitch"
9
9
"github.com/lightningnetwork/lnd/lnrpc"
10
10
"github.com/lightningnetwork/lnd/lntypes"
11
+ "github.com/lightningnetwork/lnd/lnutils"
11
12
"github.com/lightningnetwork/lnd/lnwire"
12
13
"google.golang.org/grpc/codes"
13
14
"google.golang.org/grpc/status"
@@ -60,6 +61,9 @@ func (r *forwardInterceptor) run() error {
60
61
return err
61
62
}
62
63
64
+ log .Tracef ("Received packet from stream: %v" ,
65
+ lnutils .SpewLogClosure (resp ))
66
+
63
67
if err := r .resolveFromClient (resp ); err != nil {
64
68
return err
65
69
}
@@ -73,7 +77,8 @@ func (r *forwardInterceptor) run() error {
73
77
func (r * forwardInterceptor ) onIntercept (
74
78
htlc htlcswitch.InterceptedPacket ) error {
75
79
76
- log .Tracef ("Sending intercepted packet to client %v" , htlc )
80
+ log .Tracef ("Sending intercepted packet to client %v" ,
81
+ lnutils .SpewLogClosure (htlc ))
77
82
78
83
inKey := htlc .IncomingCircuit
79
84
You can’t perform that action at this time.
0 commit comments