aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.cpp
diff options
context:
space:
mode:
authorRudolf Schmidt <info@rudolfschmidt.com>2025-06-07 15:47:16 +0200
committerRudolf Schmidt <info@rudolfschmidt.com>2025-06-07 15:47:16 +0200
commit273d368aacff21ec4a811cb8c69d737e8aa78b6f (patch)
tree8892dfb079d6590b96c1ad9c23af5c138e7d9cd7 /src/simplewallet/simplewallet.cpp
parentdf765433699ee53f4ee0fef1b3991ab14e9f2267 (diff)
downloadmonzero-core-273d368aacff21ec4a811cb8c69d737e8aa78b6f.tar.gz
monzero-core-273d368aacff21ec4a811cb8c69d737e8aa78b6f.tar.xz
monzero-core-273d368aacff21ec4a811cb8c69d737e8aa78b6f.zip
fix issue 9943: cli using wrong filename for storing keys
Diffstat (limited to 'src/simplewallet/simplewallet.cpp')
-rw-r--r--src/simplewallet/simplewallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 89691e9f7..dae348ab0 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -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)
{