mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 11:39:22 +00:00
sort change addresses to the end
This commit is contained in:
parent
096282032b
commit
e37adaece0
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue