aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--signer.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/signer.go b/signer.go
index 3f7314d..ba8e77b 100644
--- a/signer.go
+++ b/signer.go
@@ -16,7 +16,7 @@ import (
// KeySize is a default RSA key size
const KeySize = 2048
-var errNoNonces = errors.New("out of nonces")
+var ErrNoNonces = errors.New("out of nonces")
// Signer ...
type Signer struct {
@@ -69,7 +69,7 @@ func (s Signer) Nonce() (string, error) {
case nonce := <-s.nonces:
return nonce, nil
default:
- return "", errNoNonces
+ return "", ErrNoNonces
}
}