Addad db name for new ldb

This commit is contained in:
obscuren
2014-02-25 11:21:03 +01:00
parent c7e73ba12d
commit 4f4175a3e2
2 changed files with 7 additions and 3 deletions

View File

@ -61,7 +61,7 @@ type Ethereum struct {
}
func New(caps Caps, usePnp bool) (*Ethereum, error) {
db, err := ethdb.NewLDBDatabase()
db, err := ethdb.NewLDBDatabase("database")
//db, err := ethdb.NewMemDatabase()
if err != nil {
return nil, err