Other: Update golangci-lint to v1.50.0

This commit is contained in:
Leander Beernaert
2022-10-17 11:02:56 +02:00
parent e0603f741f
commit 9d800324af
70 changed files with 247 additions and 277 deletions

View File

@ -19,7 +19,6 @@ package accounts
import (
"encoding/json"
"io/ioutil"
"os"
"path/filepath"
"sort"
@ -90,7 +89,7 @@ func (a *TestAccount) initKeys() {
func readTestFile(fileName string) []byte {
testDataFolder := os.Getenv("TEST_DATA")
path := filepath.Join(testDataFolder, fileName)
data, err := ioutil.ReadFile(path) //nolint:gosec
data, err := os.ReadFile(path) //nolint:gosec
if err != nil {
panic(err)
}