From 34a2235de5f120e6e13d3e10a17a514fedeebb5e Mon Sep 17 00:00:00 2001 From: Jack Nelson Date: Wed, 13 Apr 2022 10:09:42 -0400 Subject: [PATCH] clarify comment --- chia/wallet/coin_selection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chia/wallet/coin_selection.py b/chia/wallet/coin_selection.py index a49edfe5bed8..df16b2ce8faa 100644 --- a/chia/wallet/coin_selection.py +++ b/chia/wallet/coin_selection.py @@ -96,7 +96,7 @@ async def select_coins( coin_set = {coin} return coin_set else: - # if we == amount and len(smaller_coins) >= max_num_coins. + # if smaller_coin_sum == amount and len(smaller_coins) >= max_num_coins. coin = select_smallest_coin_over_target(len(smaller_coins), valid_spendable_coins) log.debug(f"Resorted to selecting smallest coin over target due to dust.: {coin}") return {coin}