Merge pull request #559

47ca455 fixed missing parenthesis (Riccardo Spagni)
This commit is contained in:
Riccardo Spagni 2015-12-24 18:12:41 +02:00
commit 0eaee358be
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 1 additions and 1 deletions

View File

@ -1297,7 +1297,7 @@ void wallet2::store()
std::error_code e = tools::replace_file(m_wallet_file, old_file); 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); 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); THROW_WALLET_EXCEPTION_IF(e, error::file_save_error, m_wallet_file, e);
boost::filesystem::remove(old_file); boost::filesystem::remove(old_file);
} }