doesn't sleep after last try

This commit is contained in:
Rekby 2016-04-11 07:26:45 +03:00
parent 3a426a1382
commit 7557681b06

View file

@ -110,7 +110,9 @@ func (j *jws) Nonce() (string, error) {
// get nonce ok and can continue
break
}
time.Sleep(RETRY_PAUSE);
if(i < TRY_COUNT -1) {
time.Sleep(RETRY_PAUSE);
}
}
}
if len(j.nonces) == 0 {