sort change addresses to the end

This commit is contained in:
Matthew Fosse 2024-11-21 12:10:07 -07:00
parent 096282032b
commit e37adaece0

View file

@ -153,7 +153,7 @@ abstract class UnspentCoinsListViewModelBase with Store {
unspents.sort((a, b) => a.address.compareTo(b.address));
// sort change addresses to the end:
// unspents.sort((a, b) => a.isChange ? 1 : -1);
unspents.sort((a, b) => a.isChange ? 1 : -1);
_items.addAll(unspents);
}