aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-09-26 14:46:06 -0500
committerluigi1111 <luigi1111w@gmail.com>2022-09-26 14:46:06 -0500
commit0a10a4f870a6cba2fcb310f9a011aa05af589b7f (patch)
treebf703f6a418daf5c76f55a22268b0341dcb2e294 /src/wallet/wallet_rpc_server.cpp
parentMerge pull request #8556 (diff)
parentadd an option to force-update multisig key exchange under some circumstances (diff)
downloadmonero-0a10a4f870a6cba2fcb310f9a011aa05af589b7f.tar.xz
Merge pull request #8329
4b0785f add an option to force-update multisig key exchange under some circumstances (koe)
Diffstat (limited to 'src/wallet/wallet_rpc_server.cpp')
-rw-r--r--src/wallet/wallet_rpc_server.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp
index a8684d633..362b9b369 100644
--- a/src/wallet/wallet_rpc_server.cpp
+++ b/src/wallet/wallet_rpc_server.cpp
@@ -4146,13 +4146,6 @@ namespace tools
er.message = "This wallet is not multisig";
return false;
}
-
- if (ready)
- {
- er.code = WALLET_RPC_ERROR_CODE_ALREADY_MULTISIG;
- er.message = "This wallet is multisig, and already finalized";
- return false;
- }
CHECK_MULTISIG_ENABLED();
if (req.multisig_info.size() + 1 < total)
@@ -4164,7 +4157,7 @@ namespace tools
try
{
- res.multisig_info = m_wallet->exchange_multisig_keys(req.password, req.multisig_info);
+ res.multisig_info = m_wallet->exchange_multisig_keys(req.password, req.multisig_info, req.force_update_use_with_caution);
m_wallet->multisig(&ready);
if (ready)
{