From 478812d554f49e1cfd51a22fc8f092c900911d50 Mon Sep 17 00:00:00 2001 From: jpk68 Date: Sat, 15 Aug 2026 16:28:33 -0400 Subject: [PATCH] simplewallet: add missing guards/locks for multisig commands --- src/simplewallet/simplewallet.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 066c1d10a..7655199ed 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -1161,6 +1161,7 @@ bool simple_wallet::make_multisig_main(const std::vector &args, boo fail_msg_writer() << tr("wallet is watch-only and cannot be made multisig"); return false; } + CHECK_IF_BACKGROUND_SYNCING("cannot be made multisig"); if(m_wallet->get_num_transfer_details()) { @@ -1270,6 +1271,8 @@ bool simple_wallet::exchange_multisig_keys_main(const std::vector & return false; } + LOCK_IDLE_SCOPE(); + try { std::string multisig_extra_info = m_wallet->exchange_multisig_keys(orig_pwd_container->password(), args, force_update_use_with_caution);