Skip to content

Commit

Permalink
fix lint from previous prs
Browse files Browse the repository at this point in the history
  • Loading branch information
jonfung-dydx committed Feb 28, 2024
1 parent ae40a17 commit 80a1768
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mempool/clist_mempool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ func TestMempoolConcurrentUpdateAndReceiveCheckTxResponse(t *testing.T) {
go func(h int) {
defer wg.Done()

err := mp.Update(int64(h), []types.Tx{tx}, abciResponses(1, abci.CodeTypeOK), nil, nil)
err := mp.Update(int64(h), time.UnixMilli(1), []types.Tx{tx}, abciResponses(1, abci.CodeTypeOK), nil, nil)
require.NoError(t, err)
require.Equal(t, int64(h), mp.height.Load(), "height mismatch")
}(h)
Expand Down Expand Up @@ -798,7 +798,7 @@ func TestMempoolNotifyTxsAvailable(t *testing.T) {
require.Empty(t, mp.TxsAvailable())

// Updating the pool will remove the tx and set the variable to false
err := mp.Update(1, []types.Tx{tx}, abciResponses(1, abci.CodeTypeOK), nil, nil)
err := mp.Update(1, time.UnixMilli(1), []types.Tx{tx}, abciResponses(1, abci.CodeTypeOK), nil, nil)
require.NoError(t, err)
require.Zero(t, mp.Size())
require.False(t, mp.notifiedTxsAvailable.Load())
Expand Down

0 comments on commit 80a1768

Please sign in to comment.