Commit 2a5a55ef authored by obscuren's avatar obscuren Committed by Jeffrey Wilcke

ethdb: accessor for LDB. TODO remove this interface

parent c850c41e
...@@ -115,3 +115,7 @@ func (self *LDBDatabase) Close() { ...@@ -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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment