htlcswitch: properly format chan_id on failure to find

This commit is contained in:
Olaoluwa Osuntokun 2017-08-22 20:09:09 -07:00
parent 90a03954b2
commit 2d45552ad9
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -684,7 +684,7 @@ func (s *Switch) htlcForwarder() {
link, ok := s.linkIndex[chanID]
if !ok {
req.Err <- errors.Errorf("channel with "+
"chan_id=%v not found", chanID[:])
"chan_id=%x not found", chanID[:])
continue
}