New addresses are now added at bottom of the list instead of at the top

This commit is contained in:
ssotomayor 2014-10-29 14:52:13 -03:00
commit 5c158a65e1
3 changed files with 4 additions and 3 deletions

View file

@ -497,7 +497,7 @@ PublicKeyRing.prototype.getAddressesInfoForIndex = function(index, opts, copayer
var isOwned = index.copayerIndex === HDPath.SHARED_INDEX || index.copayerIndex === copayerIndex;
var ret = [];
var appendAddressInfo = function(address, isChange) {
ret.unshift({
ret.push({
address: address,
addressStr: address.toString(),
isChange: isChange,