diff options
author | Thomas Winget <tewinget@gmail.com> | 2014-07-06 13:13:06 -0400 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2014-07-06 13:13:06 -0400 |
commit | c6ffd810aff30c321a411f47544584ab6522713f (patch) | |
tree | 850d6b51e86f9c91221f67b6acd59ff158115d87 /tests | |
parent | Merge pull request #55 from monero-project/revert-54-master (diff) | |
parent | needed to remove REQUIRED from find_package(Threads) (diff) | |
download | monero-c6ffd810aff30c321a411f47544584ab6522713f.tar.xz |
Merge pull request #56 from tewinget/master
transaction splitting
Diffstat (limited to 'tests')
-rw-r--r-- | tests/functional_tests/transactions_flow_test.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/functional_tests/transactions_flow_test.cpp b/tests/functional_tests/transactions_flow_test.cpp index 4c6d5b07f..17cfc23c4 100644 --- a/tests/functional_tests/transactions_flow_test.cpp +++ b/tests/functional_tests/transactions_flow_test.cpp @@ -52,7 +52,9 @@ bool do_send_money(tools::wallet2& w1, tools::wallet2& w2, size_t mix_in_factor, try { - w1.transfer(dsts, mix_in_factor, 0, DEFAULT_FEE, std::vector<uint8_t>(), tools::detail::null_split_strategy, tools::tx_dust_policy(DEFAULT_FEE), tx); + tools::wallet2::pending_tx ptx; + w1.transfer(dsts, mix_in_factor, 0, DEFAULT_FEE, std::vector<uint8_t>(), tools::detail::null_split_strategy, tools::tx_dust_policy(DEFAULT_FEE), tx, ptx); + w1.commit_tx(ptx); return true; } catch (const std::exception&) |