aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
diff options
context:
space:
mode:
authorwoodser <13068859+woodser@users.noreply.github.com>2026-04-08 13:54:22 -0400
committerwoodser <13068859+woodser@users.noreply.github.com>2026-04-08 13:54:22 -0400
commit7b1e9ca29801d1e380291371e40c8c37ac43d18d (patch)
tree832347d8f80f07bf9c25ea1473b1e253eb79e15e /src/wallet/wallet2.cpp
parentdbcc7d212c094bd1a45f7291dbb99a4b4627a96d (diff)
downloadmonzero-core-7b1e9ca29801d1e380291371e40c8c37ac43d18d.tar.gz
monzero-core-7b1e9ca29801d1e380291371e40c8c37ac43d18d.tar.xz
monzero-core-7b1e9ca29801d1e380291371e40c8c37ac43d18d.zip
multisig: add flag to skip refresh after multisig import
Diffstat (limited to 'src/wallet/wallet2.cpp')
-rw-r--r--src/wallet/wallet2.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index af1f03d2c..00157cb3e 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -15398,7 +15398,7 @@ void wallet2::update_multisig_rescan_info(const std::vector<std::vector<rct::key
m_key_images[td.m_key_image] = n;
}
//----------------------------------------------------------------------------------------------------
-size_t wallet2::import_multisig(std::vector<cryptonote::blobdata> blobs)
+size_t wallet2::import_multisig(std::vector<cryptonote::blobdata> blobs, bool refresh_after_import)
{
CHECK_AND_ASSERT_THROW_MES(m_multisig, "Wallet is not multisig");
@@ -15523,8 +15523,8 @@ size_t wallet2::import_multisig(std::vector<cryptonote::blobdata> blobs)
update_multisig_rescan_info(m_multisig_rescan_k, m_multisig_rescan_info, n);
}
-
- refresh(false);
+ if (refresh_after_import)
+ refresh(false);
return n_outputs;
}