From d1b4205add9f8ae983c7608af1af299b60b60b59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Wed, 27 Nov 2024 09:43:54 +0200 Subject: [PATCH] Fix test. --- txcache/selection_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/txcache/selection_test.go b/txcache/selection_test.go index f7d3455c..80e82686 100644 --- a/txcache/selection_test.go +++ b/txcache/selection_test.go @@ -509,7 +509,7 @@ func TestBenchmarkTxCache_doSelectTransactions(t *testing.T) { require.Equal(t, 1000000, int(cache.CountTx())) sw.Start(t.Name()) - selected, accumulatedGas := cache.SelectTransactions(accountStateProvider, 10_000_000_000, 50_000, selectionLoopMaximumDuration) + selected, accumulatedGas := cache.SelectTransactions(session, 10_000_000_000, 50_000, selectionLoopMaximumDuration) sw.Stop(t.Name()) require.Equal(t, 50000, len(selected))