diff options
author | naughtyfox <mail.for.milo@gmail.com> | 2019-03-11 19:19:50 +0300 |
---|---|---|
committer | naughtyfox <mail.for.milo@gmail.com> | 2019-03-12 14:02:01 +0300 |
commit | 5ade72818bf6d012bba02ff60f28a9965d6b674b (patch) | |
tree | 7ed080dfc9d69f1a003af118d4056d5e0527aff9 /src/wallet/api | |
parent | Merge pull request #5258 (diff) | |
download | monero-5ade72818bf6d012bba02ff60f28a9965d6b674b.tar.xz |
Wallet API: multisig_tx_set passing bug fixed
Diffstat (limited to 'src/wallet/api')
-rw-r--r-- | src/wallet/api/wallet.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index 44cd67657..3202f2755 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -1429,7 +1429,9 @@ PendingTransaction *WalletImpl::createTransaction(const string &dst_addr, const } if (multisig().isMultisig) { - transaction->m_signers = m_wallet->make_multisig_tx_set(transaction->m_pending_tx).m_signers; + auto tx_set = m_wallet->make_multisig_tx_set(transaction->m_pending_tx); + transaction->m_pending_tx = tx_set.m_ptx; + transaction->m_signers = tx_set.m_signers; } } catch (const tools::error::daemon_busy&) { // TODO: make it translatable with "tr"? |