mirror of https://github.com/BTCPrivate/copay.git
Removed whitespaces
This commit is contained in:
parent
ce976a1b42
commit
86c8137da0
|
@ -81,7 +81,7 @@ angular.module('copayApp.controllers').controller('AddressesController',
|
|||
'address': addrinfo.addressStr,
|
||||
'balance': $rootScope.balanceByAddr ? $rootScope.balanceByAddr[addrinfo.addressStr] : 0,
|
||||
'isChange': addrinfo.isChange,
|
||||
'owned': addrinfo.owned,
|
||||
'owned': addrinfo.owned
|
||||
});
|
||||
}
|
||||
$scope.addresses = $scope.limitAddress($scope.addresses);
|
||||
|
|
|
@ -377,7 +377,6 @@ Network.prototype.send = function(dest, payload, cb) {
|
|||
|
||||
var message = this.encode(to, payload);
|
||||
this.socket.emit('message', message);
|
||||
|
||||
}
|
||||
|
||||
if (typeof cb === 'function') cb();
|
||||
|
@ -406,6 +405,4 @@ Network.prototype.lockIncommingConnections = function(allowedCopayerIdsArray) {
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
module.exports = Network;
|
||||
|
|
|
@ -496,17 +496,15 @@ PublicKeyRing.prototype.getAddressesInfoForIndex = function(index, opts, copayer
|
|||
opts = opts || {};
|
||||
var isOwned = index.copayerIndex === HDPath.SHARED_INDEX || index.copayerIndex === copayerIndex;
|
||||
var ret = [];
|
||||
var appendAddressInfo = function(address, isChange, index) {
|
||||
var appendAddressInfo = function(address, isChange) {
|
||||
ret.unshift({
|
||||
address: address,
|
||||
addressStr: address.toString(),
|
||||
isChange: isChange,
|
||||
owned: isOwned,
|
||||
//index: index.copayerIndex
|
||||
owned: isOwned
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
for (var i = 0; !opts.excludeChange && i < index.changeIndex; i++) {
|
||||
appendAddressInfo(this.getAddress(i, true, index.copayerIndex), true);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue