Merge pull request #192 from wowario/patch

Wallet API: multisig_tx_set passing bug fixed
This commit is contained in:
jw 2019-03-14 08:18:57 -07:00 committed by GitHub
commit ab19a0ae15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1414,7 +1414,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"?