Skip to content

Commit

Permalink
Merge pull request monero-project#4621
Browse files Browse the repository at this point in the history
0cdd4b0 wallet2_api: fix generating new wallet in the GUI (moneromooo-monero)
  • Loading branch information
fluffypony committed Oct 16, 2018
2 parents 636153b + 0cdd4b0 commit e0a1d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/api/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ bool WalletImpl::setPassword(const std::string &password)
{
clearStatus();
try {
m_wallet->rewrite(m_wallet->get_wallet_file(), password);
m_wallet->change_password(m_wallet->get_wallet_file(), m_password, password);
m_password = password;
} catch (const std::exception &e) {
setStatusError(e.what());
Expand Down

0 comments on commit e0a1d45

Please sign in to comment.