mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-27 06:01:48 +02:00
multi: add logs to debug potential payment sending issue
This commit is contained in:
@@ -2229,6 +2229,9 @@ func (s *Switch) GetLinkByShortID(chanID lnwire.ShortChannelID) (ChannelLink,
|
||||
func (s *Switch) getLinkByShortID(chanID lnwire.ShortChannelID) (ChannelLink, error) {
|
||||
link, ok := s.forwardingIndex[chanID]
|
||||
if !ok {
|
||||
log.Debugf("Link not found in forwarding index using "+
|
||||
"chanID=%v", chanID)
|
||||
|
||||
return nil, ErrChannelLinkNotFound
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user