diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-10-16 17:13:39 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-10-16 17:13:39 +0200 |
commit | e0a1d45d76916c350679e9e076c250dfd4494210 (patch) | |
tree | 7dc6c9d91d84483ad8473989be7487fc72014f09 | |
parent | Merge pull request #4572 (diff) | |
parent | wallet2_api: fix generating new wallet in the GUI (diff) | |
download | monero-e0a1d45d76916c350679e9e076c250dfd4494210.tar.xz |
Merge pull request #4621
0cdd4b07 wallet2_api: fix generating new wallet in the GUI (moneromooo-monero)
-rw-r--r-- | src/wallet/api/wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index de1bfdae1..bb1ba83ca 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -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()); |