Skip to content

Commit

Permalink
Merge pull request #4409
Browse files Browse the repository at this point in the history
7a056f4 WalletAPI: multisigSignData bug fixed (naughtyfox)
  • Loading branch information
fluffypony committed Sep 29, 2018
2 parents 9d0b177 + 7a056f4 commit acc9b32
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/wallet/api/pending_transaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit acc9b32

Please sign in to comment.