Skip to content

Commit e1a438d

Browse files
add CreateDBSnapshot to fake_leveldb
1 parent cf617ff commit e1a438d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ethdb/leveldb/fake_leveldb.go

+4
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ func configureOptions(customizeFn func(*opt.Options)) *opt.Options {
5959
}
6060
*/
6161

62+
func (db *Database) CreateDBSnapshot(dir string) error {
63+
return errors.New("createDBSnapshot method is not supported by leveldb")
64+
}
65+
6266
// Close stops the metrics collection, flushes any pending data to disk and closes
6367
// all io accesses to the underlying key-value store.
6468
func (db *Database) Close() error {

0 commit comments

Comments
 (0)