From 8f98dac4f02e1c7f431c3917f95cb9a235e668b9 Mon Sep 17 00:00:00 2001 From: jeffro256 Date: Tue, 29 Jul 2025 11:58:05 -0500 Subject: 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 --- src/simplewallet/simplewallet.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/simplewallet/simplewallet.cpp') 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 &args) bool simple_wallet::save_known_rings(const std::vector &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; } -- cgit v1.2.3