mirror of
https://github.com/arnaucube/go-ethereum.git
synced 2026-02-28 05:56:45 +01:00
ethdb: accessor for LDB. TODO remove this interface
This commit is contained in:
@@ -115,3 +115,7 @@ func (self *LDBDatabase) Close() {
|
||||
self.db.Close()
|
||||
glog.V(logger.Error).Infoln("flushed and closed db:", self.fn)
|
||||
}
|
||||
|
||||
func (self *LDBDatabase) LDB() *leveldb.DB {
|
||||
return self.db
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user