From 437e1d87bf45545c6ba0f81c89084163b0043844 Mon Sep 17 00:00:00 2001 From: Shivam Sharma Date: Fri, 16 Feb 2024 11:49:06 +0530 Subject: [PATCH] fix : lint --- .golangci.yml | 1 + les/handler_test.go | 1 + 2 files changed, 2 insertions(+) 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,