Skip to content

Commit 65e4cb7

Browse files
committed
PR review fixes
1 parent 4dcd3cc commit 65e4cb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/config/challenge.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ func (config *ChallengeMetadata) ValidateRequiredFields() (error, bool) {
162162
return fmt.Errorf("fail solve limit must be greater than equal to 0"), false
163163
} else if config.MaxAttemptLimit == 0 {
164164
// sets default value to -1 so it means that there is no limit.
165+
log.Warn("MaxAttemptLimit is set to 0, defaulting to no limit for attempts")
165166
config.MaxAttemptLimit = -1
166167
}
167168

0 commit comments

Comments
 (0)