aboutsummaryrefslogtreecommitdiff
path: root/tests/functional_tests/transactions_flow_test.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-04-02 13:06:39 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-04-02 14:17:02 +0100
commit48d0747d005c80fde3837fc4bcdb3eff26907d74 (patch)
tree861c6adcf4fd49ea62d8e903142be6567b8c5a17 /tests/functional_tests/transactions_flow_test.cpp
parentMerge pull request #780 (diff)
downloadmonero-48d0747d005c80fde3837fc4bcdb3eff26907d74.tar.xz
wallet: better output selection for transfer/transfer_new
This now requests the set of outputs that can be mixed first, to avoid trying non dust but unmixable outputs, which we know will fail.
Diffstat (limited to 'tests/functional_tests/transactions_flow_test.cpp')
-rw-r--r--tests/functional_tests/transactions_flow_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional_tests/transactions_flow_test.cpp b/tests/functional_tests/transactions_flow_test.cpp
index 3c3cf3a90..159ccfd83 100644
--- a/tests/functional_tests/transactions_flow_test.cpp
+++ b/tests/functional_tests/transactions_flow_test.cpp
@@ -85,7 +85,7 @@ bool do_send_money(tools::wallet2& w1, tools::wallet2& w2, size_t mix_in_factor,
try
{
tools::wallet2::pending_tx ptx;
- w1.transfer(dsts, mix_in_factor, 0, TEST_FEE, std::vector<uint8_t>(), tools::detail::null_split_strategy, tools::tx_dust_policy(TEST_DUST_THRESHOLD), tx, ptx);
+ w1.transfer(dsts, mix_in_factor, 0, TEST_FEE, std::vector<uint8_t>(), tools::detail::null_split_strategy, tools::tx_dust_policy(TEST_DUST_THRESHOLD), tx, ptx, true);
w1.commit_tx(ptx);
return true;
}