Merge PR #3517: Increasing test coverage in keys/client package
This commit is contained in:
+1
-1
@@ -120,7 +120,7 @@ func interceptLoadConfig() (conf *cfg.Config, err error) {
|
||||
|
||||
// validate the config with the sdk's requirements.
|
||||
func validateConfig(conf *cfg.Config) error {
|
||||
if conf.Consensus.CreateEmptyBlocks == false {
|
||||
if !conf.Consensus.CreateEmptyBlocks {
|
||||
return errors.New("config option CreateEmptyBlocks = false is currently unsupported")
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user