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