mirror of
https://github.com/monero-project/monero.git
synced 2026-08-01 00:20:42 -07:00
Merge pull request #5266
576116d4 wallet: fix load failure if the mms isn't usable (moneromooo-monero)
This commit is contained in:
@@ -5120,7 +5120,14 @@ void wallet2::load(const std::string& wallet_, const epee::wipeable_string& pass
|
||||
MERROR("Failed to save rings, will try again next time");
|
||||
}
|
||||
|
||||
m_message_store.read_from_file(get_multisig_wallet_state(), m_mms_file);
|
||||
try
|
||||
{
|
||||
m_message_store.read_from_file(get_multisig_wallet_state(), m_mms_file);
|
||||
}
|
||||
catch (const std::exception &e)
|
||||
{
|
||||
MERROR("Failed to initialize MMS, it will be unusable");
|
||||
}
|
||||
}
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
void wallet2::trim_hashchain()
|
||||
|
||||
Reference in New Issue
Block a user