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 authored and davecgh committed Apr 4, 2024
1 parent 9eed401 commit a2529e9
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 a2529e9

Please sign in to comment.