From 8978b5731b50627c6c3525117eadbb8006c801a4 Mon Sep 17 00:00:00 2001 From: weiihann Date: Mon, 13 Jan 2025 18:39:17 +0800 Subject: [PATCH] lint --- rpc/transaction_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/transaction_test.go b/rpc/transaction_test.go index 0d673e2cc3..68a847d7e0 100644 --- a/rpc/transaction_test.go +++ b/rpc/transaction_test.go @@ -1225,7 +1225,7 @@ func TestTransactionStatus(t *testing.T) { require.Nil(t, rpcErr) require.Equal(t, want, status) }) - t.Run("verified", func(t *testing.T) { + t.Run("verified", func(t *testing.T) { //nolint:dupl mockReader := mocks.NewMockReader(mockCtrl) mockReader.EXPECT().TransactionByHash(tx.Hash()).Return(tx, nil) mockReader.EXPECT().Receipt(tx.Hash()).Return(block.Receipts[0], block.Hash, block.Number, nil)