mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-08 20:09:24 +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));
|
unspents.sort((a, b) => a.address.compareTo(b.address));
|
||||||
|
|
||||||
// sort change addresses to the end:
|
// 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);
|
_items.addAll(unspents);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue