aboutsummaryrefslogtreecommitdiff
path: root/tests/libwallet_api_tests/main.cpp
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-06-10 13:52:10 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-06-10 13:52:10 +0300
commit3ac20a46b38f88757c57cbcf8581cade312b7936 (patch)
treea442c13e8f4de56556c522a235196f81e3271f5a /tests/libwallet_api_tests/main.cpp
parentWallet::filename, Wallet::keysFilename, tests for move wallet (diff)
downloadmonero-3ac20a46b38f88757c57cbcf8581cade312b7936.tar.xz
wallet::default_mixin exposed to public interface as
Wallet::setDefaultMixin, Wallet::defaultMixin; wallet::create_transaction_2 used in Wallet::createTransaction
Diffstat (limited to 'tests/libwallet_api_tests/main.cpp')
-rw-r--r--tests/libwallet_api_tests/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libwallet_api_tests/main.cpp b/tests/libwallet_api_tests/main.cpp
index 595e3ccfb..935cfd884 100644
--- a/tests/libwallet_api_tests/main.cpp
+++ b/tests/libwallet_api_tests/main.cpp
@@ -401,6 +401,8 @@ 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(1);
+ ASSERT_TRUE(wallet1->defaultMixin() == 1);
Bitmonero::PendingTransaction * transaction = wallet1->createTransaction(
recepient_address, AMOUNT_10XMR);