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