@@ -2767,6 +2767,8 @@ func (s *server) OpenChannel(
s.mu.RLock()
peer,ok:=s.peersByPub[string(pubKeyBytes)]
if!ok{
s.mu.RUnlock()
req.err<-fmt.Errorf("peer %x is not online",pubKeyBytes)
returnreq.updates,req.err
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.