fix(cli): fix the show-address cli cmd (#11337)
* fix: fix the `show-address` cli cmd * update the changelog
This commit is contained in:
parent
3d3cf25546
commit
dc0927071f
@ -220,6 +220,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
|
||||
* [#11229](https://github.com/cosmos/cosmos-sdk/pull/11229) Handled the error message of `transaction encountered error` from tendermint.
|
||||
* (x/authz) [\#11252](https://github.com/cosmos/cosmos-sdk/pull/11252) Allow insufficient funds error for authz simulation
|
||||
* (cli) [\#11313](https://github.com/cosmos/cosmos-sdk/pull/11313) Fixes `--gas auto` when executing CLI transactions in `--generate-only` mode
|
||||
* (cli) [\#11337](https://github.com/cosmos/cosmos-sdk/pull/11337) Fixes `show-adress` cli cmd
|
||||
|
||||
### State Machine Breaking
|
||||
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user