mirror of
https://github.com/ditatompel/xmr-remote-nodes.git
synced 2025-01-08 05:52:10 +07:00
Fix accept_tor
query param.
The query param for "accept_tor" is wrong. Morale of the story: Never code when you're drunk
This commit is contained in:
parent
e873d8f84a
commit
3b0420d950
1 changed files with 2 additions and 2 deletions
|
@ -73,8 +73,8 @@ func runProbe() {
|
|||
|
||||
func (p *proberClient) getJob() (repo.MoneroNode, error) {
|
||||
queryParams := ""
|
||||
if p.config.ApiKey != "" {
|
||||
queryParams = "?api_key=" + p.config.ApiKey
|
||||
if p.config.AcceptTor {
|
||||
queryParams = "?accept_tor=1"
|
||||
}
|
||||
|
||||
node := repo.MoneroNode{}
|
||||
|
|
Loading…
Reference in a new issue