terminal: remove DevConfig.Validate params

As the `DevConfig.Validate` params are no longer used in the Validate
method, we can remove them from the method signature.
This commit is contained in:
Viktor Torstensson 2026-05-12 11:01:05 +02:00
parent 66e9d3c46d
commit aabf8b08e9
No known key found for this signature in database
GPG key ID: 961CC8259AE675D4
3 changed files with 4 additions and 5 deletions

View file

@ -15,8 +15,7 @@ func defaultDevConfig() *DevConfig {
return &DevConfig{}
}
// Validate checks that all the values set in our DevConfig are valid and uses
// the passed parameters to override any defaults if necessary.
func (c *DevConfig) Validate(dbDir, network string) error {
// Validate checks that all the values set in our DevConfig are valid.
func (c *DevConfig) Validate() error {
return nil
}