From b8af7e84060e6ffc62c103e5d823fe330930d395 Mon Sep 17 00:00:00 2001 From: Rudolf Schmidt Date: Sat, 7 Jun 2025 15:29:25 +0200 Subject: [PATCH] fix issue 9943: cli using wrong filename for storing keys --- src/simplewallet/simplewallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 28048590ba..011090b4cf 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -1004,7 +1004,7 @@ bool simple_wallet::change_password(const std::vector &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) {