[SON-341, SON-342] Fix issue with deposits number (#339)

Co-authored-by: gladcow <s.gladkov@pbsa.info>
This commit is contained in:
gladcow 2020-04-06 19:26:41 +03:00 committed by GitHub
parent bd1bd842ce
commit c345369c67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,10 +89,9 @@ public:
// check deposits are here
auto deposits = fixture_.con.wallet_api_ptr->get_vesting_balances(account_name);
BOOST_CHECK(deposits.size() == 2);
BOOST_CHECK(deposits.size() >= 2);
create_tx = fixture_.con.wallet_api_ptr->create_son(account_name, son_url,
deposits[0].id, deposits[1].id,
create_tx = fixture_.con.wallet_api_ptr->try_create_son(account_name, son_url,
sidechain_public_keys,
true);