From 0def3a964a937110b84230be74e04bc1152bda36 Mon Sep 17 00:00:00 2001 From: Tess Rinearson Date: Sun, 17 Jan 2021 21:26:00 +0100 Subject: [PATCH] config: fix mispellings (#5914) Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- config/config.go | 4 ++-- config/toml.go | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/config.go b/config/config.go index a356cf05c..44876af48 100644 --- a/config/config.go +++ b/config/config.go @@ -363,7 +363,7 @@ type RPCConfig struct { MaxHeaderBytes int `mapstructure:"max_header_bytes"` // The path to a file containing certificate that is used to create the HTTPS server. - // Migth be either absolute path or path related to tendermint's config directory. + // Might be either absolute path or path related to Tendermint's config directory. // // If the certificate is signed by a certificate authority, // the certFile should be the concatenation of the server's certificate, any intermediates, @@ -374,7 +374,7 @@ type RPCConfig struct { TLSCertFile string `mapstructure:"tls_cert_file"` // The path to a file containing matching private key that is used to create the HTTPS server. - // Migth be either absolute path or path related to tendermint's config directory. + // Might be either absolute path or path related to tendermint's config directory. // // NOTE: both tls_cert_file and tls_key_file must be present for Tendermint to create HTTPS server. // Otherwise, HTTP server is run. diff --git a/config/toml.go b/config/toml.go index f4bc4640b..82ecdda20 100644 --- a/config/toml.go +++ b/config/toml.go @@ -219,7 +219,7 @@ max_body_bytes = {{ .RPC.MaxBodyBytes }} max_header_bytes = {{ .RPC.MaxHeaderBytes }} # The path to a file containing certificate that is used to create the HTTPS server. -# Migth be either absolute path or path related to tendermint's config directory. +# Might be either absolute path or path related to Tendermint's config directory. # If the certificate is signed by a certificate authority, # the certFile should be the concatenation of the server's certificate, any intermediates, # and the CA's certificate. @@ -228,8 +228,8 @@ max_header_bytes = {{ .RPC.MaxHeaderBytes }} tls_cert_file = "{{ .RPC.TLSCertFile }}" # The path to a file containing matching private key that is used to create the HTTPS server. -# Migth be either absolute path or path related to tendermint's config directory. -# NOTE: both tls_cert_file and tls_key_file must be present for Tendermint to create HTTPS server. +# Might be either absolute path or path related to Tendermint's config directory. +# NOTE: both tls-cert-file and tls-key-file must be present for Tendermint to create HTTPS server. # Otherwise, HTTP server is run. tls_key_file = "{{ .RPC.TLSKeyFile }}" @@ -310,7 +310,7 @@ handshake_timeout = "{{ .P2P.HandshakeTimeout }}" dial_timeout = "{{ .P2P.DialTimeout }}" ####################################################### -### Mempool Configurattion Option ### +### Mempool Configuration Option ### ####################################################### [mempool]