Browse Source

remove redundant code

activeAddress
Ivan Socolsky 10 years ago
parent
commit
8eefe15762
  1. 2
      lib/model/addressmanager.js

2
lib/model/addressmanager.js

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

Loading…
Cancel
Save