mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-06 13:26:23 +00:00
New lint version upgrade (#4056)
* New lint version upgrade - linter was upgraded Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * enable-a;; is deprecated * minor change * another try * some more changes * some more changes * reenable prealloc * add version till bot is fixed
This commit is contained in:
@@ -140,7 +140,7 @@ func (cfg *Config) ValidateBasic() error {
|
||||
// BaseConfig
|
||||
|
||||
// BaseConfig defines the base configuration for a Tendermint node
|
||||
type BaseConfig struct {
|
||||
type BaseConfig struct { //nolint: maligned
|
||||
// chainID is unexposed and immutable but here for convenience
|
||||
chainID string
|
||||
|
||||
@@ -471,7 +471,7 @@ func (cfg RPCConfig) IsTLSEnabled() bool {
|
||||
// P2PConfig
|
||||
|
||||
// P2PConfig defines the configuration options for the Tendermint peer-to-peer networking layer
|
||||
type P2PConfig struct {
|
||||
type P2PConfig struct { //nolint: maligned
|
||||
RootDir string `mapstructure:"home"`
|
||||
|
||||
// Address to listen for incoming connections
|
||||
|
||||
Reference in New Issue
Block a user