From 8a79a5dd1cabe3cf501f63d99bd78f2b0ad211c1 Mon Sep 17 00:00:00 2001 From: tsosunchia <59512455+tsosunchia@users.noreply.github.com> Date: Wed, 31 May 2023 22:30:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4POW=E8=B6=85=E6=97=B6?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E4=B8=BA5s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pow/pow.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pow/pow.go b/pow/pow.go index 5300e29..74d624f 100644 --- a/pow/pow.go +++ b/pow/pow.go @@ -44,7 +44,7 @@ type SubmitResponse struct { func GetToken() (string, error) { client := &http.Client{ - Timeout: 1 * time.Second, + Timeout: 5 * time.Second, } // Get challenge @@ -52,7 +52,7 @@ func GetToken() (string, error) { if err != nil { return "", err } - fmt.Println(challengeResponse.Challenge.Challenge) + //fmt.Println(challengeResponse.Challenge.Challenge) // Solve challenge and submit answer token, err := submitAnswer(client, challengeResponse)