From 3b0420d950aac30d9be2ec1eb49a56249c98b03a Mon Sep 17 00:00:00 2001 From: ditatompel Date: Mon, 6 May 2024 22:53:23 +0700 Subject: [PATCH] Fix `accept_tor` query param. The query param for "accept_tor" is wrong. Morale of the story: Never code when you're drunk --- cmd/probe.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/probe.go b/cmd/probe.go index 193f6d7..596c04b 100644 --- a/cmd/probe.go +++ b/cmd/probe.go @@ -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{}