ethdb: accessor for LDB. TODO remove this interface

pull/1357/head
obscuren 10 years ago committed by Jeffrey Wilcke
parent c850c41ec1
commit 2a5a55efaf
  1. 4
      ethdb/database.go

@ -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…
Cancel
Save