From 0a0fc47655cd1e4aa9eb6bd53b8c7472226a4be4 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Thu, 28 Jan 2021 19:58:28 +0100 Subject: [PATCH] Make lint happy Signed-off-by: Jakub Sztandera --- cmd/lotus-fountain/recaptcha.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmd/lotus-fountain/recaptcha.go b/cmd/lotus-fountain/recaptcha.go index d4e71cc02..69359faa3 100644 --- a/cmd/lotus-fountain/recaptcha.go +++ b/cmd/lotus-fountain/recaptcha.go @@ -52,7 +52,11 @@ func VerifyToken(token, remoteIP string) (Response, error) { q.Add("response", token) q.Add("remoteip", remoteIP) - u := &(*VerifyURL) + var u *url.URL + { + verifyCopy := *VerifyURL + u = &verifyCopy + } u.RawQuery = q.Encode() r, err := http.Post(u.String(), contentType, nil) if err != nil {