From e6db52fe43c83aafe9483ed84420f9ca13923ba9 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Thu, 4 Apr 2024 16:39:30 +0000 Subject: [PATCH] dcrdtest: use node directory prefix for appdata --- dcrdtest/node.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dcrdtest/node.go b/dcrdtest/node.go index 6da6321..82933d7 100644 --- a/dcrdtest/node.go +++ b/dcrdtest/node.go @@ -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))