diff --git a/.golangci.yml b/.golangci.yml index b82cdcfd9c..72955396a8 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -19,6 +19,7 @@ linters: - ineffassign - misspell - unconvert + - typecheck - unused - staticcheck - bidichk diff --git a/les/handler_test.go b/les/handler_test.go index 3a8042f8de..e11bcaf69a 100644 --- a/les/handler_test.go +++ b/les/handler_test.go @@ -594,6 +594,7 @@ func testGetBloombitsProofs(t *testing.T, protocol int) { // func TestTransactionStatusLes3(t *testing.T) { testTransactionStatus(t, lpv3) } // func TestTransactionStatusLes4(t *testing.T) { testTransactionStatus(t, lpv4) } +// nolint:unused func testTransactionStatus(t *testing.T, protocol int) { netconfig := testnetConfig{ protocol: protocol,