diff --git a/cmix/message/handler.go b/cmix/message/handler.go index 842337d656d146daf2629ce8abf0c35afdfa3ae1..6a5baf55486860b3d14d5d2960acaa861dc18ba0 100644 --- a/cmix/message/handler.go +++ b/cmix/message/handler.go @@ -182,15 +182,14 @@ func (h *handler) handleMessageHelper(ecrMsg format.Message, bundle Bundle) bool services, exists := h.get( identity.Source, ecrMsg.GetSIH(), ecrMsg.GetContents()) - if exists { + // If the id doesn't exist or there are no services for it, then + // we want messages to be reprocessed as garbled. + if exists && len(services) != 0 { for _, t := range services { jww.DEBUG.Printf("handleMessage service found: %s, %s", ecrMsg.Digest(), t) go t.Process(ecrMsg, identity, round) } - if len(services) == 0 { - jww.WARN.Printf("Empty service list for %s", ecrMsg.Digest()) - } return true }