aboutsummaryrefslogtreecommitdiffstats
path: root/core/bench_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/bench_test.go')
-rw-r--r--core/bench_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bench_test.go b/core/bench_test.go
index f991e5e7f..0ff847ed5 100644
--- a/core/bench_test.go
+++ b/core/bench_test.go
@@ -153,7 +153,7 @@ func benchInsertChain(b *testing.B, disk bool, gen func(int, *BlockGen)) {
b.Fatalf("cannot create temporary directory: %v", err)
}
defer os.RemoveAll(dir)
- db, err = ethdb.NewLDBDatabase(dir, 0)
+ db, err = ethdb.NewLDBDatabase(dir, 128, 128)
if err != nil {
b.Fatalf("cannot create temporary database: %v", err)
}