diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-07-22 18:46:20 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-07-22 19:00:52 +0800 |
commit | c7e7778f2a7d80fa12643db546db98fa70f2e384 (patch) | |
tree | ec31d9621aa5b265af6a4c9098c2ad913c1a325d /ethdb/database_test.go | |
parent | f1daed65b1f89cae6327cd9f49668628c6980ade (diff) | |
download | dexon-c7e7778f2a7d80fa12643db546db98fa70f2e384.tar dexon-c7e7778f2a7d80fa12643db546db98fa70f2e384.tar.gz dexon-c7e7778f2a7d80fa12643db546db98fa70f2e384.tar.bz2 dexon-c7e7778f2a7d80fa12643db546db98fa70f2e384.tar.lz dexon-c7e7778f2a7d80fa12643db546db98fa70f2e384.tar.xz dexon-c7e7778f2a7d80fa12643db546db98fa70f2e384.tar.zst dexon-c7e7778f2a7d80fa12643db546db98fa70f2e384.zip |
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.go | 3 |
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 } |