From 2e048a467976f6f620a3e9f55d26744139456147 Mon Sep 17 00:00:00 2001 From: Thomas Winget Date: Sun, 15 Jun 2014 20:36:44 -0400 Subject: final changes to get transaction splitting building. needs testing. --- tests/functional_tests/transactions_flow_test.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/functional_tests/transactions_flow_test.cpp') 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(), 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(), tools::detail::null_split_strategy, tools::tx_dust_policy(DEFAULT_FEE), tx, ptx); + w1.commit_tx(ptx); return true; } catch (const std::exception&) -- cgit v1.2.3