Skip to content

Commit

Permalink
core: make benchmark test use sync:ed method
Browse files Browse the repository at this point in the history
  • Loading branch information
holiman committed Jan 26, 2021
1 parent b548af7 commit bba3963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tx_pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2070,6 +2070,6 @@ func BenchmarkPoolMultiAccountBatchInsert(b *testing.B) {
// Benchmark importing the transactions into the queue
b.ResetTimer()
for _, tx := range batches {
pool.AddRemotes([]*types.Transaction{tx})
pool.AddRemotesSync([]*types.Transaction{tx})
}
}

0 comments on commit bba3963

Please sign in to comment.