remove redundant code
This commit is contained in:
parent
1258ac24fb
commit
8eefe15762
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue