server: fix notify-online log message

This commit is contained in:
Conner Fromknecht 2019-01-23 20:40:27 -08:00
parent ecd5541d55
commit 58f95322c0
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

View File

@ -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: