mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 09:24:47 +00:00
libwallet_api: test: adjusted mixin_count=4 as it's minumum allowed
This commit is contained in:
parent
8b0cb8caa4
commit
559f379327
1 changed files with 4 additions and 3 deletions
|
@ -572,13 +572,14 @@ TEST_F(WalletTest1, WalletTransaction)
|
||||||
ASSERT_TRUE(wallet1->status() == Bitmonero::PendingTransaction::Status_Ok);
|
ASSERT_TRUE(wallet1->status() == Bitmonero::PendingTransaction::Status_Ok);
|
||||||
|
|
||||||
std::string recepient_address = Utils::get_wallet_address(CURRENT_DST_WALLET, TESTNET_WALLET_PASS);
|
std::string recepient_address = Utils::get_wallet_address(CURRENT_DST_WALLET, TESTNET_WALLET_PASS);
|
||||||
wallet1->setDefaultMixin(10);
|
const int MIXIN_COUNT = 4;
|
||||||
ASSERT_TRUE(wallet1->defaultMixin() == 10);
|
|
||||||
|
|
||||||
Bitmonero::PendingTransaction * transaction = wallet1->createTransaction(recepient_address,
|
Bitmonero::PendingTransaction * transaction = wallet1->createTransaction(recepient_address,
|
||||||
PAYMENT_ID_EMPTY,
|
PAYMENT_ID_EMPTY,
|
||||||
AMOUNT_10XMR,
|
AMOUNT_10XMR,
|
||||||
2);
|
MIXIN_COUNT,
|
||||||
|
Bitmonero::PendingTransaction::Priority_Medium);
|
||||||
ASSERT_TRUE(transaction->status() == Bitmonero::PendingTransaction::Status_Ok);
|
ASSERT_TRUE(transaction->status() == Bitmonero::PendingTransaction::Status_Ok);
|
||||||
wallet1->refresh();
|
wallet1->refresh();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue