diff options
author | koe <ukoe@protonmail.com> | 2022-05-14 17:07:47 -0500 |
---|---|---|
committer | koe <ukoe@protonmail.com> | 2022-09-21 12:51:19 -0500 |
commit | 1cd21bfba584fa7d886f13684f34c71931eddf4d (patch) | |
tree | 58679d5288a870f6a0b062c1f59b76898926b85e /src/wallet/api/wallet.cpp | |
parent | Merge pull request #8545 (diff) | |
download | monero-1cd21bfba584fa7d886f13684f34c71931eddf4d.tar.xz |
add an option to force-update multisig key exchange under some circumstances
Diffstat (limited to 'src/wallet/api/wallet.cpp')
-rw-r--r-- | src/wallet/api/wallet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index 470206bc5..5b9d398a9 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -1396,12 +1396,12 @@ string WalletImpl::makeMultisig(const vector<string>& info, const uint32_t thres return string(); } -std::string WalletImpl::exchangeMultisigKeys(const std::vector<std::string> &info) { +std::string WalletImpl::exchangeMultisigKeys(const std::vector<std::string> &info, const bool force_update_use_with_caution /*= false*/) { try { clearStatus(); checkMultisigWalletNotReady(m_wallet); - return m_wallet->exchange_multisig_keys(epee::wipeable_string(m_password), info); + return m_wallet->exchange_multisig_keys(epee::wipeable_string(m_password), info, force_update_use_with_caution); } catch (const exception& e) { LOG_ERROR("Error on exchanging multisig keys: " << e.what()); setStatusError(string(tr("Failed to exchange multisig keys: ")) + e.what()); |