server: fix double hex encoded peer string
This commit is contained in:
parent
52b3d5bbf7
commit
51627ffe5f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user