Database
This commit is contained in:
parent
8ab6c53231
commit
0ae6a38825
@ -58,8 +58,8 @@ type Ethereum struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func New(caps Caps, usePnp bool) (*Ethereum, error) {
|
func New(caps Caps, usePnp bool) (*Ethereum, error) {
|
||||||
//db, err := ethdb.NewLDBDatabase()
|
db, err := ethdb.NewLDBDatabase()
|
||||||
db, err := ethdb.NewMemDatabase()
|
//db, err := ethdb.NewMemDatabase()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user