fix issue 9943: cli using wrong filename for storing keys

This commit is contained in:
Rudolf Schmidt 2025-06-07 15:47:16 +02:00
parent df76543369
commit 273d368aac

View file

@ -1017,7 +1017,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)
{