okay idk why i did that, revert the names
This commit is contained in:
@@ -28,7 +28,7 @@ type ChallengeStore struct {
|
||||
|
||||
const MaxChallenges = 10000
|
||||
|
||||
func New(ttl time.Duration) *ChallengeStore {
|
||||
func NewChallengeStore(ttl time.Duration) *ChallengeStore {
|
||||
if ttl <= 0 || ttl > 10*time.Minute {
|
||||
panic("invalid challenge ttl")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user