Skip to content

Commit 5286584

Browse files
committed
lint
1 parent 6ff70d9 commit 5286584

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mempool/mempool_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func TestMempool(t *testing.T) {
5555
require.Equal(t, err.Error(), "transaction pool is empty")
5656

5757
// push multiple to empty (1,2,3)
58-
for i := uint64(1); i < 4; i++ { //nolint:dupl
58+
for i := uint64(1); i < 4; i++ {
5959
senderAddress := new(felt.Felt).SetUint64(i)
6060
state.EXPECT().ContractNonce(senderAddress).Return(&felt.Zero, nil)
6161
require.NoError(t, pool.Push(&mempool.BroadcastedTransaction{
@@ -130,7 +130,7 @@ func TestRestoreMempool(t *testing.T) {
130130
require.Equal(t, 0, pool.Len())
131131

132132
// push multiple transactions to empty mempool (1,2,3)
133-
for i := uint64(1); i < 4; i++ { //nolint:dupl
133+
for i := uint64(1); i < 4; i++ {
134134
senderAddress := new(felt.Felt).SetUint64(i)
135135
state.EXPECT().ContractNonce(senderAddress).Return(new(felt.Felt).SetUint64(0), nil)
136136
require.NoError(t, pool.Push(&mempool.BroadcastedTransaction{

0 commit comments

Comments
 (0)