From 9b8182082abc7aba555b0a1b70ad7eca364f62cc Mon Sep 17 00:00:00 2001 From: ditatompel Date: Sat, 4 May 2024 22:56:59 +0700 Subject: [PATCH] Nothing important, just remove print debug info --- cmd/probe.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmd/probe.go b/cmd/probe.go index 48785a6..0334f4f 100644 --- a/cmd/probe.go +++ b/cmd/probe.go @@ -162,8 +162,6 @@ func (p *proberClient) fetchNode(node repo.MoneroNode) (repo.MoneroNode, error) return node, err } - fmt.Println(string(body)) - reportNode := struct { repo.MoneroNode `json:"result"` }{} @@ -181,8 +179,6 @@ func (p *proberClient) fetchNode(node repo.MoneroNode) (repo.MoneroNode, error) node.Difficulty = reportNode.Difficulty node.Version = reportNode.Version - fmt.Println(prettyPrint(reportNode)) - if resp.Header.Get("Access-Control-Allow-Origin") == "*" || resp.Header.Get("Access-Control-Allow-Origin") == "https://xmr.ditatompel.com" { node.CorsCapable = true }