From 77052370cce980fa378d7acc414120faf80ab573 Mon Sep 17 00:00:00 2001 From: "M. J. Fromberger" Date: Thu, 30 Sep 2021 10:13:32 -0700 Subject: [PATCH] Update default config template to match mapstructure keys. (#7036) Fix a couple of cases where we updated the keys in the config reader, but forgot to update some of their uses in the default template. Fixes #7031. --- config/toml.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/toml.go b/config/toml.go index 986ff1c2a..e4c86c9f4 100644 --- a/config/toml.go +++ b/config/toml.go @@ -164,10 +164,10 @@ laddr = "{{ .PrivValidator.ListenAddr }}" client-certificate-file = "{{ js .PrivValidator.ClientCertificate }}" # Client key generated while creating certificates for secure connection -validator-client-key-file = "{{ js .PrivValidator.ClientKey }}" +client-key-file = "{{ js .PrivValidator.ClientKey }}" # Path to the Root Certificate Authority used to sign both client and server certificates -certificate-authority = "{{ js .PrivValidator.RootCA }}" +root-ca-file = "{{ js .PrivValidator.RootCA }}" ####################################################################### @@ -447,8 +447,8 @@ rpc-servers = "{{ StringsJoin .StateSync.RPCServers "," }}" trust-height = {{ .StateSync.TrustHeight }} trust-hash = "{{ .StateSync.TrustHash }}" -# The trust period should be set so that Tendermint can detect and gossip misbehavior before -# it is considered expired. For chains based on the Cosmos SDK, one day less than the unbonding +# The trust period should be set so that Tendermint can detect and gossip misbehavior before +# it is considered expired. For chains based on the Cosmos SDK, one day less than the unbonding # period should suffice. trust-period = "{{ .StateSync.TrustPeriod }}"