diff --git a/peer/cwtch_peer.go b/peer/cwtch_peer.go index 2395af0..eeddd1a 100644 --- a/peer/cwtch_peer.go +++ b/peer/cwtch_peer.go @@ -916,7 +916,8 @@ func (cp *cwtchPeer) eventHandler() { case event.ProtocolEngineStopped: cp.mutex.Lock() cp.listenStatus = false - log.Infof("Protocol engine for %v has stopped listening", cp.GetOnion()) + onion, _ := cp.storage.LoadProfileKeyValue(TypeAttribute, attr.PublicScope.ConstructScopedZonedPath(attr.ProfileZone.ConstructZonedPath(constants.Onion)).ToString()) + log.Infof("Protocol engine for %s has stopped listening", onion) cp.mutex.Unlock() case event.EncryptedGroupMessage: