diff options
author | Chun Kuan Lee <ken2812221@gmail.com> | 2018-09-11 02:08:56 +0800 |
---|---|---|
committer | Chun Kuan Lee <ken2812221@gmail.com> | 2018-09-11 03:11:39 +0800 |
commit | e2213689328f8ba42af1d32d12c7b78a71f1ddc7 (patch) | |
tree | ba99e353bfa32fe4e0ee0ed86480acfc9a9e7654 /src/wallet/wallet.cpp | |
parent | 6eeac2e628b5332dcaee60e5c83861c94e44d04d (diff) |
utils: Convert fs error messages from multibyte to utf-8
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r-- | src/wallet/wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index de707a09f4..690c7936d8 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -3849,7 +3849,7 @@ bool CWallet::Verify(std::string wallet_file, bool salvage_wallet, std::string& return false; } } catch (const fs::filesystem_error& e) { - error_string = strprintf("Error loading wallet %s. %s", wallet_file, e.what()); + error_string = strprintf("Error loading wallet %s. %s", wallet_file, fsbridge::get_filesystem_error_message(e)); return false; } |