Merge pull request #2536 from cfromknecht/notify-online-log

server: fix notify-online log message
This commit is contained in:
Johan T. Halseth 2019-01-25 13:29:03 +01:00 committed by GitHub
commit 6a78141a2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2469,7 +2469,7 @@ func (s *server) peerInitializer(p *peer) {
defer s.mu.Unlock()
// Check if there are listeners waiting for this peer to come online.
srvrLog.Debugf("Notifying that peer %x is offline", p.PubKey())
srvrLog.Debugf("Notifying that peer %x is online", p.PubKey())
for _, peerChan := range s.peerConnectedListeners[pubStr] {
select {
case peerChan <- p: