From c18273dae79aafe76ae0ad0a2a2f4fb0fc8c00c0 Mon Sep 17 00:00:00 2001 From: Jason Paulos Date: Thu, 9 May 2024 11:29:43 -0400 Subject: [PATCH] Fix warnings --- .golangci-warnings.yml | 3 --- abi/type_test.go | 2 -- 2 files changed, 5 deletions(-) diff --git a/.golangci-warnings.yml b/.golangci-warnings.yml index 598c897..fb9c7b3 100644 --- a/.golangci-warnings.yml +++ b/.golangci-warnings.yml @@ -6,10 +6,7 @@ linters: disable-all: true enable: - staticcheck - - structcheck - typecheck - - varcheck - - deadcode - gosimple - unused diff --git a/abi/type_test.go b/abi/type_test.go index fa19035..51affb0 100644 --- a/abi/type_test.go +++ b/abi/type_test.go @@ -6,7 +6,6 @@ import ( "strconv" "strings" "testing" - "time" "github.com/stretchr/testify/require" ) @@ -564,7 +563,6 @@ func generateTupleType(baseTypes []Type, tupleTypes []Type) Type { func TestTypeMISC(t *testing.T) { t.Parallel() - rand.Seed(time.Now().Unix()) var testpool = []Type{ boolType,