max furman 6 лет назад
Родитель
Сommit
4c48048615
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      acme/order.go

+ 1 - 1
acme/order.go

@@ -18,7 +18,7 @@ import (
 var defaultOrderExpiry = time.Hour * 24
 
 // Mutex for locking ordersByAccount index operations.
-var ordersByAccountMux = &sync.Mutex{}
+var ordersByAccountMux sync.Mutex
 
 // Order contains order metadata for the ACME protocol order type.
 type Order struct {