Merge pull request #5270
5ade7281
Wallet API: multisig_tx_set passing bug fixed (naughtyfox)
This commit is contained in:
commit
e0a05837ba
@ -1489,7 +1489,9 @@ PendingTransaction *WalletImpl::createTransaction(const string &dst_addr, const
|
|||||||
pendingTxPostProcess(transaction);
|
pendingTxPostProcess(transaction);
|
||||||
|
|
||||||
if (multisig().isMultisig) {
|
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&) {
|
} catch (const tools::error::daemon_busy&) {
|
||||||
// TODO: make it translatable with "tr"?
|
// TODO: make it translatable with "tr"?
|
||||||
|
Loading…
Reference in New Issue
Block a user