1
0
Fork 0
forked from lthn/blockchain

coretests: minor fix for ionic_swap_exact_amounts_test

This commit is contained in:
sowle 2023-10-23 17:10:07 +02:00
parent f94aa44104
commit c974f65a30
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -444,7 +444,7 @@ bool ionic_swap_exact_amounts_test::c1(currency::core& c, size_t ev_index, const
currency::transaction tx_is2{};
r = alice_wlt->accept_ionic_swap_proposal(proposal, tx_is2);
CHECK_AND_ASSERT_MES(r, false, "Failed to accept ionic proposal");
CHECK_AND_ASSERT_MES(check_ionic_swap_tx_outs(m_accounts, tx_is2, bob_wlt, proposal), false, "");
CHECK_AND_ASSERT_MES(check_ionic_swap_tx_outs(m_accounts, tx_is2, alice_wlt, proposal), false, "");
CHECK_AND_ASSERT_MES(c.get_pool_transactions_count() == 1, false, "Unexpected number of txs in the pool: " << c.get_pool_transactions_count());
r = mine_next_pow_blocks_in_playtime(m_accounts[MINER_ACC_IDX].get_public_address(), c, CURRENCY_MINED_MONEY_UNLOCK_WINDOW);