removing debug logs

This commit is contained in:
Gabriel mermelstein 2024-12-17 11:59:51 +01:00
parent 33d56c35c7
commit f2cb392871
No known key found for this signature in database
GPG Key ID: 82B8134785FEAE0D

View File

@ -592,7 +592,6 @@ type topicHealth struct {
}
func (n *WakuNode) OnEvent(eventStr string) {
fmt.Println("---------- GABRIEL received event: ", eventStr)
jsonEvent := jsonEvent{}
err := json.Unmarshal([]byte(eventStr), &jsonEvent)
if err != nil {
@ -604,7 +603,6 @@ func (n *WakuNode) OnEvent(eventStr string) {
case "message":
n.parseMessageEvent(eventStr)
case "relay_topic_health_change":
fmt.Println("Received topic health change event")
n.parseTopicHealthChangeEvent(eventStr)
}
}
@ -624,9 +622,6 @@ func (n *WakuNode) parseTopicHealthChangeEvent(eventStr string) {
if err != nil {
n.logger.Error("could not parse topic health change", zap.Error(err))
}
fmt.Println("-------- topicHealth.PubsubTopic: ", topicHealth.PubsubTopic)
fmt.Println("-------- topicHealth.TopicHealth: ", topicHealth.TopicHealth)
n.TopicHealthChan <- topicHealth
}