clarify comment

This commit is contained in:
Jack Nelson 2022-04-13 10:09:42 -04:00 committed by GitHub
parent adbf7f4f94
commit 34a2235de5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}