server: properly format peer pubkey in NotifyWhenOnline logging msg
Fixes #978.
This commit is contained in:
parent
c5c23eb833
commit
90636b49b2
@ -1112,7 +1112,8 @@ func (s *server) NotifyWhenOnline(peer *btcec.PublicKey,
|
||||
_, ok := s.peersByPub[pubStr]
|
||||
if ok {
|
||||
// Connected, can return early.
|
||||
srvrLog.Debugf("Notifying that peer %v is online", pubStr)
|
||||
srvrLog.Debugf("Notifying that peer %x is online",
|
||||
peer.SerializeCompressed())
|
||||
close(connectedChan)
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user