fix issue 9943: cli using wrong filename for storing keys

This commit is contained in:
Rudolf Schmidt 2025-06-07 15:29:25 +02:00
parent 125622d5bd
commit b8af7e8406

View file

@ -1004,7 +1004,7 @@ bool simple_wallet::change_password(const std::vector<std::string> &args)
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)
{