server: fix double hex encoded peer string

This commit is contained in:
Conner Fromknecht 2019-11-05 15:05:04 -08:00
parent 52b3d5bbf7
commit 51627ffe5f
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -2915,7 +2915,7 @@ func (s *server) peerTerminationWatcher(p *peer, ready chan struct{}) {
// If there were any notification requests for when this peer
// disconnected, we can trigger them now.
srvrLog.Debugf("Notifying that peer %x is offline", p)
srvrLog.Debugf("Notifying that peer %v is offline", p)
pubStr := string(pubKey.SerializeCompressed())
for _, offlineChan := range s.peerDisconnectedListeners[pubStr] {
close(offlineChan)