mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 05:13:25 +01:00
Merge pull request #4621
0cdd4b07
wallet2_api: fix generating new wallet in the GUI (moneromooo-monero)
This commit is contained in:
commit
e0a1d45d76
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user