fix : lint

This commit is contained in:
Shivam Sharma 2024-02-16 11:49:06 +05:30
parent 017e688548
commit 437e1d87bf
2 changed files with 2 additions and 0 deletions

View file

@ -19,6 +19,7 @@ linters:
- ineffassign - ineffassign
- misspell - misspell
- unconvert - unconvert
- typecheck
- unused - unused
- staticcheck - staticcheck
- bidichk - bidichk

View file

@ -594,6 +594,7 @@ func testGetBloombitsProofs(t *testing.T, protocol int) {
// func TestTransactionStatusLes3(t *testing.T) { testTransactionStatus(t, lpv3) } // func TestTransactionStatusLes3(t *testing.T) { testTransactionStatus(t, lpv3) }
// func TestTransactionStatusLes4(t *testing.T) { testTransactionStatus(t, lpv4) } // func TestTransactionStatusLes4(t *testing.T) { testTransactionStatus(t, lpv4) }
// nolint:unused
func testTransactionStatus(t *testing.T, protocol int) { func testTransactionStatus(t *testing.T, protocol int) {
netconfig := testnetConfig{ netconfig := testnetConfig{
protocol: protocol, protocol: protocol,