FetcherConfig.Validate: corrected <= to just <

This commit is contained in:
pippellia-btc
2025-09-19 15:55:39 +02:00
parent 5594c59f40
commit 7d8907984d

View File

@@ -32,7 +32,7 @@ func (c FetcherConfig) Validate() error {
return errors.New("kind list cannot be empty")
}
if c.Batch <= 1 {
if c.Batch < 1 {
return errors.New("batch value must be positive")
}