mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
htlcswitch: add additional logging statement when forwarding HTLC's
This commit is contained in:
parent
07b0604458
commit
8eadd09403
@ -691,6 +691,8 @@ func (l *channelLink) handleUpstreamMsg(msg lnwire.Message) {
|
||||
// path.
|
||||
htlcsToForward := l.processLockedInHtlcs(htlcs)
|
||||
go func() {
|
||||
log.Debugf("ChannelPoint(%v) forwarding %v HTLC's",
|
||||
l.channel.ChannelPoint(), len(htlcsToForward))
|
||||
for _, packet := range htlcsToForward {
|
||||
if err := l.cfg.Switch.forward(packet); err != nil {
|
||||
log.Errorf("channel link(%v): "+
|
||||
|
Loading…
Reference in New Issue
Block a user