mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-15 12:36:48 +00:00
Database
This commit is contained in:
parent
8ab6c53231
commit
0ae6a38825
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue