diff --git a/acme/jws.go b/acme/jws.go index dbb32ccf..8435d0cf 100644 --- a/acme/jws.go +++ b/acme/jws.go @@ -10,7 +10,6 @@ import ( "net/http" "gopkg.in/square/go-jose.v1" - "errors" ) type jws struct { @@ -101,9 +100,6 @@ func (j *jws) Nonce() (string, error) { if err != nil { return nonce, err } - if len(j.nonces) == 0 { - return "", errors.New("Can't get nonce") - } } nonce, j.nonces = j.nonces[len(j.nonces)-1], j.nonces[:len(j.nonces)-1]