aboutsummaryrefslogtreecommitdiffstats
path: root/ethdb/database_test.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-07-23 16:17:18 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-07-23 16:17:18 +0800
commitb403b9e4c398a285c0e307771761b29bab47adb9 (patch)
treeb9991d8a9ab71e84a1350e0769ec9ae59ecd3cc0 /ethdb/database_test.go
parent26a269ea09667f7e49b89f96bb5eaee66c0d10f8 (diff)
parentc7e7778f2a7d80fa12643db546db98fa70f2e384 (diff)
downloaddexon-b403b9e4c398a285c0e307771761b29bab47adb9.tar
dexon-b403b9e4c398a285c0e307771761b29bab47adb9.tar.gz
dexon-b403b9e4c398a285c0e307771761b29bab47adb9.tar.bz2
dexon-b403b9e4c398a285c0e307771761b29bab47adb9.tar.lz
dexon-b403b9e4c398a285c0e307771761b29bab47adb9.tar.xz
dexon-b403b9e4c398a285c0e307771761b29bab47adb9.tar.zst
dexon-b403b9e4c398a285c0e307771761b29bab47adb9.zip
Merge pull request #1508 from karalabe/database-caching
cmd, core, eth, ethdb: cache flag to allocate memory for db internal use
Diffstat (limited to 'ethdb/database_test.go')
-rw-r--r--ethdb/database_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/ethdb/database_test.go b/ethdb/database_test.go
index 29292d016..41947a698 100644
--- a/ethdb/database_test.go
+++ b/ethdb/database_test.go
@@ -28,8 +28,7 @@ func newDb() *LDBDatabase {
if common.FileExist(file) {
os.RemoveAll(file)
}
-
- db, _ := NewLDBDatabase(file)
+ db, _ := NewLDBDatabase(file, 0)
return db
}