From 273d368aacff21ec4a811cb8c69d737e8aa78b6f Mon Sep 17 00:00:00 2001 From: Rudolf Schmidt Date: Sat, 7 Jun 2025 15:47:16 +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 89691e9f76..dae348ab03 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -1017,7 +1017,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) {