remove redundant code

This commit is contained in:
Ivan Socolsky 2015-02-22 17:54:47 -03:00
parent 1258ac24fb
commit 8eefe15762
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ AddressManager.prototype._incrementIndex = function(isChange) {
AddressManager.prototype.getCurrentAddressPath = function(isChange) {
return 'm/' +
(this.copayerIndex || SHARED_INDEX) + '/' +
this.copayerIndex + '/' +
(isChange ? 1 : 0) + '/' +
(isChange ? this.changeAddressIndex : this.receiveAddressIndex);
};