mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 22:25:24 +01:00
chainregistry: create neutrino DB in correct directory
This commit is contained in:
parent
5746e764cb
commit
d5130909d4
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ func newChainControlFromConfig(cfg *config, chanDB *channeldb.DB) (*chainControl
|
|||
// TODO(roasbeef): create dest for database of chain
|
||||
// * where to place???
|
||||
|
||||
dbName := filepath.Join(homeChainConfig.ChainDir, "neutrino.db")
|
||||
dbName := filepath.Join(cfg.DataDir, "neutrino.db")
|
||||
nodeDatabase, err := walletdb.Create("bdb", dbName)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
Loading…
Add table
Reference in a new issue