Skip to content

Commit

Permalink
dcrdtest: use node directory prefix for appdata
Browse files Browse the repository at this point in the history
  • Loading branch information
jrick committed Apr 4, 2024
1 parent 9eed401 commit e6db52f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dcrdtest/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ func (n *nodeConfig) arguments() []string {
args = append(args, fmt.Sprintf("--rpckey=%s", n.keyFile))
// --txindex
args = append(args, "--txindex")
if n.prefix != "" {
// --appdata
args = append(args, fmt.Sprintf("--appdata=%s", n.prefix))
}
if n.dataDir != "" {
// --datadir
args = append(args, fmt.Sprintf("--datadir=%s", n.dataDir))
Expand Down

0 comments on commit e6db52f

Please sign in to comment.