diff --git a/cashu/wallet/wallet.py b/cashu/wallet/wallet.py index 6533aac..c6458a7 100644 --- a/cashu/wallet/wallet.py +++ b/cashu/wallet/wallet.py @@ -476,6 +476,7 @@ class Wallet( remaining_amount = amount - sum(amounts) if remaining_amount > 0: amounts += amount_split(remaining_amount) + amounts.sort() logger.debug(f"Amounts we want: {amounts}") if sum(amounts) != amount: