mirror of
https://github.com/monero-project/monero.git
synced 2025-01-09 12:29:53 +00:00
Merge pull request #9506
a928cbc
wallet2: fix error throw if unable to load cache (tobtoht)
This commit is contained in:
commit
1ed12f9b00
1 changed files with 1 additions and 1 deletions
|
@ -6141,7 +6141,7 @@ void wallet2::load(const std::string& wallet_, const epee::wipeable_string& pass
|
||||||
bool r = true;
|
bool r = true;
|
||||||
if (use_fs)
|
if (use_fs)
|
||||||
{
|
{
|
||||||
load_from_file(m_wallet_file, cache_file_buf, std::numeric_limits<size_t>::max());
|
r = load_from_file(m_wallet_file, cache_file_buf, std::numeric_limits<size_t>::max());
|
||||||
THROW_WALLET_EXCEPTION_IF(!r, error::file_read_error, m_wallet_file);
|
THROW_WALLET_EXCEPTION_IF(!r, error::file_read_error, m_wallet_file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue