Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rianhughes committed Jan 15, 2025
1 parent 6ff70d9 commit 5286584
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mempool/mempool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func TestMempool(t *testing.T) {
require.Equal(t, err.Error(), "transaction pool is empty")

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

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

0 comments on commit 5286584

Please sign in to comment.