From 681ff1ebd1eab8ae4add1b6db598a8a78dc9705e Mon Sep 17 00:00:00 2001 From: gladcow Date: Mon, 6 Apr 2020 15:49:11 +0300 Subject: [PATCH] fix issue with deposits number --- tests/cli/son.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/cli/son.cpp b/tests/cli/son.cpp index d8eabf7d..4c5097f8 100644 --- a/tests/cli/son.cpp +++ b/tests/cli/son.cpp @@ -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);