mirror of
https://github.com/tendermint/tendermint.git
synced 2026-04-12 11:46:59 +00:00
nolint gosec
This commit is contained in:
@@ -891,7 +891,7 @@ func NewNode(config *cfg.Config,
|
||||
if config.RPC.PprofListenAddress != "" {
|
||||
go func() {
|
||||
logger.Info("Starting pprof server", "laddr", config.RPC.PprofListenAddress)
|
||||
logger.Error("pprof server error", "err", http.ListenAndServe(config.RPC.PprofListenAddress, nil))
|
||||
logger.Error("pprof server error", "err", http.ListenAndServe(config.RPC.PprofListenAddress, nil)) //nolint: gosec
|
||||
}()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user