Skip to content

Commit bba3963

Browse files
committed
core: make benchmark test use sync:ed method
1 parent b548af7 commit bba3963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/tx_pool_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2070,6 +2070,6 @@ func BenchmarkPoolMultiAccountBatchInsert(b *testing.B) {
20702070
// Benchmark importing the transactions into the queue
20712071
b.ResetTimer()
20722072
for _, tx := range batches {
2073-
pool.AddRemotes([]*types.Transaction{tx})
2073+
pool.AddRemotesSync([]*types.Transaction{tx})
20742074
}
20752075
}

0 commit comments

Comments
 (0)