mirror of
https://github.com/ditatompel/xmr-remote-nodes.git
synced 2025-01-08 05:52:10 +07: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
|
return node, err
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Println(string(body))
|
|
||||||
|
|
||||||
reportNode := struct {
|
reportNode := struct {
|
||||||
repo.MoneroNode `json:"result"`
|
repo.MoneroNode `json:"result"`
|
||||||
}{}
|
}{}
|
||||||
|
@ -181,8 +179,6 @@ func (p *proberClient) fetchNode(node repo.MoneroNode) (repo.MoneroNode, error)
|
||||||
node.Difficulty = reportNode.Difficulty
|
node.Difficulty = reportNode.Difficulty
|
||||||
node.Version = reportNode.Version
|
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" {
|
if resp.Header.Get("Access-Control-Allow-Origin") == "*" || resp.Header.Get("Access-Control-Allow-Origin") == "https://xmr.ditatompel.com" {
|
||||||
node.CorsCapable = true
|
node.CorsCapable = true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue