mirror of
https://github.com/ditatompel/xmr-remote-nodes.git
synced 2025-01-08 20:09:43 +00:00
Nothing important, just remove print debug info
This commit is contained in:
parent
e9577b9bcf
commit
9b8182082a
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue