mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-21 07:24:36 +00:00
config: add root dir to priv validator (#6585)
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ func New(conf *config.Config,
|
||||
|
||||
switch conf.Mode {
|
||||
case config.ModeFull, config.ModeValidator:
|
||||
pval, err := privval.LoadOrGenFilePV(conf.PrivValidatorKeyFile(), conf.PrivValidatorStateFile())
|
||||
pval, err := privval.LoadOrGenFilePV(conf.PrivValidator.KeyFile(), conf.PrivValidator.StateFile())
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user