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