mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-21 22:57:10 +02:00
htlcswitch: properly format chan_id on failure to find
This commit is contained in:
@@ -684,7 +684,7 @@ func (s *Switch) htlcForwarder() {
|
|||||||
link, ok := s.linkIndex[chanID]
|
link, ok := s.linkIndex[chanID]
|
||||||
if !ok {
|
if !ok {
|
||||||
req.Err <- errors.Errorf("channel with "+
|
req.Err <- errors.Errorf("channel with "+
|
||||||
"chan_id=%v not found", chanID[:])
|
"chan_id=%x not found", chanID[:])
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user