mirror of
https://github.com/aljazceru/nutshell.git
synced 2026-02-03 07:44:21 +01:00
sort split in split_wallet_state (#653)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user