diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-02-04 18:58:39 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-02-09 19:31:23 +0200 |
commit | ecd094e2b1e1eb7dba24dafef3640a9b6cc55f82 (patch) | |
tree | 0a90f379aec3bc69aee21375d2c724278fc18b85 /src/wallet/walletutil.cpp | |
parent | 06fed4c21ec64cd224231d15cbbeb985b8fba5f2 (diff) | |
download | bitcoin-ecd094e2b1e1eb7dba24dafef3640a9b6cc55f82.tar.xz |
Use ArgsManager::GetPathArg() for "-walletdir" option
Diffstat (limited to 'src/wallet/walletutil.cpp')
-rw-r--r-- | src/wallet/walletutil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/walletutil.cpp b/src/wallet/walletutil.cpp index ce276451c3..df1b10a634 100644 --- a/src/wallet/walletutil.cpp +++ b/src/wallet/walletutil.cpp @@ -13,7 +13,7 @@ fs::path GetWalletDir() fs::path path; if (gArgs.IsArgSet("-walletdir")) { - path = fs::PathFromString(gArgs.GetArg("-walletdir", "")); + path = gArgs.GetPathArg("-walletdir"); if (!fs::is_directory(path)) { // If the path specified doesn't exist, we return the deliberately // invalid empty string. |