final changes to get transaction splitting building. needs testing.

This commit is contained in:
Thomas Winget 2014-06-15 20:36:44 -04:00
parent 79e59d155b
commit 2e048a4679
6 changed files with 140 additions and 44 deletions

View file

@ -132,7 +132,8 @@ namespace tools
try
{
cryptonote::transaction tx;
m_wallet.transfer(dsts, req.mixin, req.unlock_time, req.fee, extra, tx);
wallet2::pending_tx ptx;
m_wallet.transfer(dsts, req.mixin, req.unlock_time, req.fee, extra, tx, ptx);
res.tx_hash = boost::lexical_cast<std::string>(cryptonote::get_transaction_hash(tx));
return true;
}