Merge pull request #1033 from stevenroose/close-offline
rpcserver: Clarify failure closing offline channel
This commit is contained in:
4 files changed
+15
-3
No files matched your search
@@ -1284,8 +1284,8 @@ func (s *Switch) htlcForwarder() {
|
||||
chanID := lnwire.NewChanIDFromOutPoint(req.ChanPoint)
|
||||
link, ok := s.linkIndex[chanID]
|
||||
if !ok {
|
||||
req.Err <- errors.Errorf("channel with "+
|
||||
"chan_id=%x not found", chanID[:])
|
||||
req.Err <- errors.Errorf("no peer for channel with "+
|
||||
"chan_id=%x", chanID[:])
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user