mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-17 13:36:37 +00:00
ethdb: accessor for LDB. TODO remove this interface
This commit is contained in:
parent
c850c41ec1
commit
2a5a55efaf
1 changed files with 4 additions and 0 deletions
|
|
@ -115,3 +115,7 @@ func (self *LDBDatabase) Close() {
|
||||||
self.db.Close()
|
self.db.Close()
|
||||||
glog.V(logger.Error).Infoln("flushed and closed db:", self.fn)
|
glog.V(logger.Error).Infoln("flushed and closed db:", self.fn)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (self *LDBDatabase) LDB() *leveldb.DB {
|
||||||
|
return self.db
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue