From 618fbaeba8c5a19797928045d3cdbc09061d92d4 Mon Sep 17 00:00:00 2001 From: Jack Nelson Date: Wed, 30 Mar 2022 21:14:21 -0400 Subject: [PATCH] fix test --- tests/wallet/test_coin_selection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/wallet/test_coin_selection.py b/tests/wallet/test_coin_selection.py index 26b058020608..7ae74a283161 100644 --- a/tests/wallet/test_coin_selection.py +++ b/tests/wallet/test_coin_selection.py @@ -128,7 +128,7 @@ async def test_coin_selection(self, a_hash: bytes32) -> None: target_amount, ) assert match_3 is not None - assert sum([coin.amount for coin in match_3]) == target_amount + assert sum([coin.amount for coin in match_3]) >= target_amount assert len(match_3) >= 3 # check for match of all