diff options
author | Andrew Chow <achow101-github@achow101.com> | 2022-01-19 15:21:25 -0500 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-03-05 15:58:05 +0000 |
commit | 021c3d892fb6b801143bb433e85f329fd250c97d (patch) | |
tree | 5c0e8e9a2ccc02f1da61adf7317995c6633592ab /src | |
parent | 9b5f674abb0e90280436fbacb8711250cde11773 (diff) |
fs: Make compatible with boost 1.78
Github-Pull: #24104
Rebased-From: dc5d6b0d4793ca978f71f69ef7d6b818794676c2
Diffstat (limited to 'src')
-rw-r--r-- | src/wallet/load.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/load.cpp b/src/wallet/load.cpp index dbf9fd46b6..845fd10182 100644 --- a/src/wallet/load.cpp +++ b/src/wallet/load.cpp @@ -22,7 +22,7 @@ bool VerifyWallets(interfaces::Chain& chain) fs::path wallet_dir = gArgs.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"), wallet_dir.string())); return false; |