mirror of
https://github.com/monero-project/monero.git
synced 2026-06-12 19:11:36 -07:00
multisig: add flag to skip refresh after multisig import
This commit is contained in:
@@ -14631,7 +14631,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");
|
||||
|
||||
@@ -14749,8 +14749,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user