Merge pull request #50 from ssotomayor/fixes1592

New addresses are now added at bottom of the list instead of at the top
This commit is contained in:
Matias Alejo Garcia 2014-10-29 14:56:59 -03:00
commit a93a48dc60
3 changed files with 4 additions and 3 deletions

View file

@ -493,7 +493,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,