This commit is contained in:
Rekby 2016-04-11 07:27:12 +03:00
parent 7557681b06
commit 334ebd6ee6

View file

@ -9,8 +9,8 @@ import (
"fmt" "fmt"
"net/http" "net/http"
"gopkg.in/square/go-jose.v1"
"errors" "errors"
"gopkg.in/square/go-jose.v1"
"time" "time"
) )
@ -110,8 +110,8 @@ func (j *jws) Nonce() (string, error) {
// get nonce ok and can continue // get nonce ok and can continue
break break
} }
if(i < TRY_COUNT -1) { if i < TRY_COUNT-1 {
time.Sleep(RETRY_PAUSE); time.Sleep(RETRY_PAUSE)
} }
} }
} }