mirror of
https://github.com/monero-project/monero.git
synced 2026-07-30 23:50:24 -07:00
fix issue 9943: cli using wrong filename for storing keys
This commit is contained in:
@@ -1004,7 +1004,7 @@ bool simple_wallet::change_password(const std::vector<std::string> &args)
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
m_wallet->change_password(m_wallet_file, orig_pwd_container->password(), pwd_container->password());
|
m_wallet->change_password(m_wallet->get_wallet_file(), orig_pwd_container->password(), pwd_container->password());
|
||||||
}
|
}
|
||||||
catch (const tools::error::wallet_logic_error& e)
|
catch (const tools::error::wallet_logic_error& e)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user