aboutsummaryrefslogtreecommitdiff
path: root/account.go
diff options
context:
space:
mode:
Diffstat (limited to 'account.go')
-rw-r--r--account.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/account.go b/account.go
index 7d17d2d..8456ce7 100644
--- a/account.go
+++ b/account.go
@@ -59,7 +59,7 @@ type Signer interface {
}
// Sign implements Signer interface
-func (a *Account) Sign(msg []byte, n jose.NonceSource) (io.Reader, error) {
+func (a Account) Sign(msg []byte, n jose.NonceSource) (io.Reader, error) {
a.signer.SetNonceSource(n)
obj, err := a.signer.Sign(msg)
if err != nil {
@@ -68,6 +68,6 @@ func (a *Account) Sign(msg []byte, n jose.NonceSource) (io.Reader, error) {
return strings.NewReader(obj.FullSerialize()), nil
}
-func (a *Account) KeyAuth(token string) string {
+func (a Account) KeyAuth(token string) string {
return token + "." + a.thumb
}