aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet
diff options
context:
space:
mode:
authorjeffro256 <jeffro256@tutanota.com>2025-07-29 11:58:05 -0500
committerjeffro256 <jeffro256@tutanota.com>2025-07-29 12:32:20 -0500
commit8f98dac4f02e1c7f431c3917f95cb9a235e668b9 (patch)
tree8700c9d7d9eb3bcf3f365f6d5963c30c4b222e4d /src/simplewallet
parentec870e50706a29768a65f597155ed5c7ad7e6326 (diff)
downloadmonzero-core-8f98dac4f02e1c7f431c3917f95cb9a235e668b9.tar.gz
monzero-core-8f98dac4f02e1c7f431c3917f95cb9a235e668b9.tar.xz
monzero-core-8f98dac4f02e1c7f431c3917f95cb9a235e668b9.zip
wallet: deprecate wallet2::find_and_save_rings()
Rings for outgoing transactions are stored within the scanning code since the last hardfork, so this code is largely unneccessary now. Co-authored-by: j-berman <justinberman@protonmail.com>
Diffstat (limited to 'src/simplewallet')
-rw-r--r--src/simplewallet/simplewallet.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index fd8a82b52..33f5f64d7 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -2231,15 +2231,7 @@ bool simple_wallet::blackballed(const std::vector<std::string> &args)
bool simple_wallet::save_known_rings(const std::vector<std::string> &args)
{
- try
- {
- LOCK_IDLE_SCOPE();
- m_wallet->find_and_save_rings();
- }
- catch (const std::exception &e)
- {
- fail_msg_writer() << tr("Failed to save known rings: ") << e.what();
- }
+ fail_msg_writer() << tr("save_known_rings is deprecated");
return true;
}