fixed Default datadir

This commit is contained in:
cwaldron97 2019-07-09 17:05:55 -05:00
parent 4bc44269f1
commit 1fec083b0b

View file

@ -333,10 +333,12 @@ object BitcoindConfig extends BitcoinSLogger {
"Bitcoin")
} else if (Properties.isWin) {
Paths.get("C:",
"Program Files",
"Bitcoin")
}
else {
"Users",
Properties.userName,
"Appdata",
"Roaming",
"Bitcoin")
} else {
Paths.get(Properties.userHome, ".bitcoin")
}
path.toFile