Skip to content

Commit

Permalink
store database in correct directory
Browse files Browse the repository at this point in the history
  • Loading branch information
chris124567 committed Jan 8, 2024
1 parent 54f2b5d commit 7d21c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/explored/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func newNode(addr, dir string, chainNetwork string, useUPNP bool, logger *zap.Lo
}
cm := chain.NewManager(dbstore, tipState)

store, err := sqlite.OpenDatabase("./explore.db", logger)
store, err := sqlite.OpenDatabase(filepath.Join(dir, "./explore.db"), logger)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 7d21c16

Please sign in to comment.