diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2022-09-26 14:55:28 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2022-09-26 14:55:28 -0500 |
| commit | a7b0c93c7db8054e833914f5de9f36a27d2f23b3 (patch) | |
| tree | a63f9c9d4358f6ba41bcb9ef9ede1f2c01607afe /src/wallet/api/wallet.cpp | |
| parent | 9885b8b0f2cb236b373f4eb0f8441036667255da (diff) | |
| parent | 1cd21bfba584fa7d886f13684f34c71931eddf4d (diff) | |
| download | monzero-core-a7b0c93c7db8054e833914f5de9f36a27d2f23b3.tar.gz monzero-core-a7b0c93c7db8054e833914f5de9f36a27d2f23b3.tar.xz monzero-core-a7b0c93c7db8054e833914f5de9f36a27d2f23b3.zip | |
Merge pull request #8582
1cd21bf add an option to force-update multisig key exchange under some circumstances (koe)
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()); |
