build: upgrade to golangci-lint 1.24.0 (#20901)

* accounts/scwallet: remove unnecessary uses of fmt.Sprintf

* cmd/puppeth: remove unnecessary uses of fmt.Sprintf

* p2p/discv5: remove unnecessary use of fmt.Sprintf

* whisper/mailserver: remove unnecessary uses of fmt.Sprintf

* core: goimports -w tx_pool_test.go

* eth/downloader: goimports -w downloader_test.go

* build: upgrade to golangci-lint 1.24.0
This commit is contained in:
Felix Lange
2020-04-08 10:07:29 +02:00
committed by GitHub
parent b7394d7942
commit c8e9a91672
8 changed files with 42 additions and 34 deletions

View File

@ -641,7 +641,7 @@ loop:
}
log.Trace("loop stopped")
log.Debug(fmt.Sprintf("shutting down"))
log.Debug("shutting down")
if net.conn != nil {
net.conn.Close()
}