Skip to content

Commit

Permalink
chainregistry: create neutrino DB in correct directory
Browse files Browse the repository at this point in the history
  • Loading branch information
aakselrod authored and Roasbeef committed Jun 6, 2017
1 parent 5746e76 commit d513090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chainregistry.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d513090

Please sign in to comment.