WalletAPI: multisigSignData bug fixed

This commit is contained in:
naughtyfox 2018-09-20 17:12:35 +03:00
parent bad2c7cf31
commit 7a056f4425
1 changed files with 5 additions and 1 deletions

View File

@ -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;