Nothing important, just remove print debug info

This commit is contained in:
ditatompel 2024-05-04 22:56:59 +07:00
parent e9577b9bcf
commit 9b8182082a
No known key found for this signature in database
GPG key ID: 31D3D06D77950979

View file

@ -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
}