mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #559
47ca455
fixed missing parenthesis (Riccardo Spagni)
This commit is contained in:
commit
0eaee358be
@ -1297,7 +1297,7 @@ void wallet2::store()
|
||||
std::error_code e = tools::replace_file(m_wallet_file, old_file);
|
||||
THROW_WALLET_EXCEPTION_IF(e, error::file_save_error, m_wallet_file, e);
|
||||
}
|
||||
std::error_code e = tools::replace_file(new_file, m_wallet_file
|
||||
std::error_code e = tools::replace_file(new_file, m_wallet_file);
|
||||
THROW_WALLET_EXCEPTION_IF(e, error::file_save_error, m_wallet_file, e);
|
||||
boost::filesystem::remove(old_file);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user