diff options
Diffstat (limited to 'les/backend.go')
-rw-r--r-- | les/backend.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/les/backend.go b/les/backend.go index 67ddf17e4..bc4d0f21d 100644 --- a/les/backend.go +++ b/les/backend.go @@ -79,7 +79,7 @@ type LightEthereum struct { } func New(ctx *node.ServiceContext, config *eth.Config) (*LightEthereum, error) { - chainDb, err := eth.CreateDB(ctx, config, "lightchaindata") + chainDb, err := ctx.OpenDatabase("lightchaindata", config.DatabaseCache, config.DatabaseHandles, "eth/db/chaindata/") if err != nil { return nil, err } |