fix(cli): fix the show-address cli cmd (#11337)
* fix: fix the `show-address` cli cmd * update the changelog
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@ func ShowAddressCmd() *cobra.Command {
|
||||
serverCtx := GetServerContextFromCmd(cmd)
|
||||
cfg := serverCtx.Config
|
||||
|
||||
privValidator, err := pvm.LoadFilePV(cfg.PrivValidator.Key, cfg.PrivValidator.State)
|
||||
privValidator, err := pvm.LoadFilePV(cfg.PrivValidator.KeyFile(), cfg.PrivValidator.StateFile())
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user