diff options
author | Ilya Kitaev <mbg033@gmail.com> | 2016-10-06 16:35:03 +0300 |
---|---|---|
committer | Ilya Kitaev <mbg033@gmail.com> | 2016-10-06 16:35:03 +0300 |
commit | 559f37932749bded851cdd268a49fee3694d2cd4 (patch) | |
tree | 078849bb8f1ad1c6a470c3b06c432395c43ce8b5 | |
parent | libwallet_api: some renamings (diff) | |
download | monero-559f37932749bded851cdd268a49fee3694d2cd4.tar.xz |
libwallet_api: test: adjusted mixin_count=4 as it's minumum allowed
-rw-r--r-- | tests/libwallet_api_tests/main.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/libwallet_api_tests/main.cpp b/tests/libwallet_api_tests/main.cpp index 0fc0dd028..0468cf40a 100644 --- a/tests/libwallet_api_tests/main.cpp +++ b/tests/libwallet_api_tests/main.cpp @@ -572,13 +572,14 @@ TEST_F(WalletTest1, WalletTransaction) ASSERT_TRUE(wallet1->status() == Bitmonero::PendingTransaction::Status_Ok); std::string recepient_address = Utils::get_wallet_address(CURRENT_DST_WALLET, TESTNET_WALLET_PASS); - wallet1->setDefaultMixin(10); - ASSERT_TRUE(wallet1->defaultMixin() == 10); + const int MIXIN_COUNT = 4; + Bitmonero::PendingTransaction * transaction = wallet1->createTransaction(recepient_address, PAYMENT_ID_EMPTY, AMOUNT_10XMR, - 2); + MIXIN_COUNT, + Bitmonero::PendingTransaction::Priority_Medium); ASSERT_TRUE(transaction->status() == Bitmonero::PendingTransaction::Status_Ok); wallet1->refresh(); |