aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/load.cpp
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2022-01-19 15:21:25 -0500
committerAndrew Chow <achow101-github@achow101.com>2022-01-19 16:25:20 -0500
commitdc5d6b0d4793ca978f71f69ef7d6b818794676c2 (patch)
treeae4cce6b6e5dd19523db07264b53628ba70b0d39 /src/wallet/load.cpp
parent869c6e23c5a63fa05a1e4ca1028aadc3fa8a7529 (diff)
downloadbitcoin-dc5d6b0d4793ca978f71f69ef7d6b818794676c2.tar.xz
fs: Make compatible with boost 1.78
Diffstat (limited to 'src/wallet/load.cpp')
-rw-r--r--src/wallet/load.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/load.cpp b/src/wallet/load.cpp
index 2d47673705..e6f96074d5 100644
--- a/src/wallet/load.cpp
+++ b/src/wallet/load.cpp
@@ -29,7 +29,7 @@ bool VerifyWallets(WalletContext& context)
fs::path wallet_dir = fs::PathFromString(args.GetArg("-walletdir", ""));
boost::system::error_code error;
// The canonical path cleans the path, preventing >1 Berkeley environment instances for the same directory
- fs::path canonical_wallet_dir = fs::canonical(wallet_dir, error);
+ fs::path canonical_wallet_dir = fs::canonical(wallet_dir, error).remove_trailing_separator();
if (error || !fs::exists(wallet_dir)) {
chain.initError(strprintf(_("Specified -walletdir \"%s\" does not exist"), fs::PathToString(wallet_dir)));
return false;