aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaughtyfox <mail.for.milo@gmail.com>2018-09-20 17:12:35 +0300
committernaughtyfox <mail.for.milo@gmail.com>2018-09-21 14:40:37 +0300
commit7a056f4425aa4fbe87494f77a4dc64e26f6000bf (patch)
tree8e4c47fa5f30c5246cdfa27434092758e9d85ea0
parentMerge pull request #4391 (diff)
downloadmonero-7a056f4425aa4fbe87494f77a4dc64e26f6000bf.tar.xz
WalletAPI: multisigSignData bug fixed
-rw-r--r--src/wallet/api/pending_transaction.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wallet/api/pending_transaction.cpp b/src/wallet/api/pending_transaction.cpp
index 8d200220d..913e3156f 100644
--- a/src/wallet/api/pending_transaction.cpp
+++ b/src/wallet/api/pending_transaction.cpp
@@ -200,7 +200,11 @@ std::string PendingTransactionImpl::multisigSignData() {
throw std::runtime_error("wallet is not multisig");
}
- auto cipher = m_wallet.m_wallet->save_multisig_tx(m_pending_tx);
+ tools::wallet2::multisig_tx_set txSet;
+ txSet.m_ptx = m_pending_tx;
+ txSet.m_signers = m_signers;
+ auto cipher = m_wallet.m_wallet->save_multisig_tx(txSet);
+
return epee::string_tools::buff_to_hex_nodelimer(cipher);
} catch (const std::exception& e) {
m_status = Status_Error;