Browse Source

remove unused nonce.clone method

max furman 5 years ago
parent
commit
9aef84b9af
1 changed files with 0 additions and 5 deletions
  1. 0 5
      acme/db/nosql/nonce.go

+ 0 - 5
acme/db/nosql/nonce.go

@@ -18,11 +18,6 @@ type dbNonce struct {
 	DeletedAt time.Time
 	DeletedAt time.Time
 }
 }
 
 
-func (dbn *dbNonce) clone() *dbNonce {
-	u := *dbn
-	return &u
-}
-
 // CreateNonce creates, stores, and returns an ACME replay-nonce.
 // CreateNonce creates, stores, and returns an ACME replay-nonce.
 // Implements the acme.DB interface.
 // Implements the acme.DB interface.
 func (db *DB) CreateNonce(ctx context.Context) (acme.Nonce, error) {
 func (db *DB) CreateNonce(ctx context.Context) (acme.Nonce, error) {