Merge pull request #5270

5ade7281 Wallet API: multisig_tx_set passing bug fixed (naughtyfox)
This commit is contained in:
Riccardo Spagni 2019-03-21 14:51:41 +02:00
commit e0a05837ba
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -1489,7 +1489,9 @@ PendingTransaction *WalletImpl::createTransaction(const string &dst_addr, const
pendingTxPostProcess(transaction);
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"?